setTriggerArea: Difference between revisions
Jump to navigation
Jump to search
m (categorized) |
mNo edit summary |
||
Line 14: | Line 14: | ||
|p1= trigger: [[Object]] |= Parameter 1 | |p1= trigger: [[Object]] |= Parameter 1 | ||
|p2= [a, b, angle, rectangle]: [[Array]] |= Parameter 2 | |p2= [a, b, angle, rectangle]: [[Array]]. ([[Number]],[[Number]],[[Number]],[[Boolean]]) |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>_trigger setTriggerArea [100, 50, 45, [[false]] ]</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 11:35, 31 August 2007
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. (Number,Number,Number,Boolean)
- 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