setTriggerArea: Difference between revisions

From Bohemia Interactive Community
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]]


<new command not populated>


<h2 style="color:#000066">'''''trigger'' setTriggerArea ''[a, b, angle, rectangle]'''''</h2>


<h2 style="color:#000066">''''' setTriggerArea '''''</h2>


'''Operand types:'''


'''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 17:22, 4 July 2006


trigger setTriggerArea [a, b, angle, rectangle]


Operand types:

trigger: Object

[a, b, angle, rectangle]: Array

Type of returned value:

Nothing

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]