setTriggerArea: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(clarified parameters) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Defines the area controlled by the trigger | | Defines the area controlled by the trigger. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| trigger '''setTriggerArea''' [ | | trigger '''setTriggerArea''' [xrad, yrad, angle, rectangle] |= Syntax | ||
|p1= trigger: [[Object]] |= Parameter 1 | |p1= trigger: [[Object]] |= Parameter 1 | ||
|p2= | |p2= xrad: [[Number]] - horizontal(x) radius (or half the width of rectangle) |= Parameter 2 | ||
|p3= yrad: [[Number]] - vertical(y) radius (or half the height of rectangle) |= Parameter 3 | |||
|p4= angle: [[Number]] - rotational in degrees |= Parameter 4 | |||
|p5= rectangle: [[Boolean]] - [[true]] if rectangle) |= Parameter 5 | |||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 22:28, 8 January 2009
Description
- Description:
- Defines the area controlled by the trigger.
- Groups:
- Uncategorised
Syntax
- Syntax:
- trigger setTriggerArea [xrad, yrad, angle, rectangle]
- Parameters:
- trigger: Object
- xrad: Number - horizontal(x) radius (or half the width of rectangle)
- yrad: Number - vertical(y) radius (or half the height of rectangle)
- angle: Number - rotational in degrees
- rectangle: Boolean - true if rectangle)
- 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