setTriggerArea: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
[[Category:Scripting Commands ArmA|SETTRIGGERAREA]] | [[Category:Scripting Commands ArmA|SETTRIGGERAREA]] | ||
<h2 style="color:#000066">'''''trigger'' setTriggerArea ''[a, b, angle, rectangle]'''''</h2> | |||
'''Operand types:''' | |||
''' | '''trigger:''' [[Object]] | ||
'''[a, b, angle, rectangle]:''' [[Array]] | |||
'''Type of returned value:''' | '''Type of returned value:''' | ||
[[Nothing]] | |||
'''Compatibility:''' | '''Compatibility:''' | ||
Version 1.86 required. | |||
'''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. | |||
'''Example:''' | '''Example:''' | ||
trigger '''setTriggerArea''' [100, 50, 45, false] |
Revision as of 16:22, 4 July 2006
trigger setTriggerArea [a, b, angle, rectangle]
Operand types:
trigger: Object
[a, b, angle, rectangle]: Array
Type of returned value:
Compatibility:
Version 1.86 required.
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.
Example:
trigger setTriggerArea [100, 50, 45, false]