setTriggerArea: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (locality added) |
||
Line 5: | Line 5: | ||
|1.00|= Game version | |1.00|= Game version | ||
|arg= global|= Arguments in MP | |||
|eff= local |= Effects in MP | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:21, 20 January 2014
Description
- Description:
- Defines the area controlled by the trigger. The area is either rectangular or elliptical, the width is 2 * xrad, the height is 2 * yrad. It is rotated angle degrees.
- Groups:
- Uncategorised
Syntax
- Syntax:
- trigger setTriggerArea [xrad, yrad, angle, rectangle]
- Parameters:
- trigger: Object
- [xrad, yrad, angle, rectangle]: Array
- 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:
- triggerAreacreateTriggersetTriggerActivation, 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
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Activators
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters