setTriggerArea: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add. see also)
m (categorized)
Line 38: Line 38:
[[Category:Scripting Commands OFP Elite |SETTRIGGERAREA]]
[[Category:Scripting Commands OFP Elite |SETTRIGGERAREA]]
[[Category:Scripting Commands ArmA|SETTRIGGERAREA]]
[[Category:Scripting Commands ArmA|SETTRIGGERAREA]]
[[Category:Command_Group:_Activators|{{uc:{{PAGENAME}}}}]]

Revision as of 08:02, 11 January 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Defines the area controlled by the trigger. The area is rectangular or elliptic, the width is 2 * a, the height is 2 * b. It is rotated angle degrees.
Groups:
Uncategorised

Syntax

Syntax:
trigger setTriggerArea [a, b, angle, rectangle]
Parameters:
trigger: Object
[a, b, angle, rectangle]: Array
Return Value:
Nothing

Examples

Example 1:
trigger setTriggerArea [100, 50, 45, false ]

Additional Information

See also:
createTriggersetTriggerActivation, setTriggerStatementssetTriggerTextsetTriggerTimeoutsetTriggerType

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note


Notes

Bottom Section