triggerArea: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
m (Text replacement - "v1\.59\.[0-9]{6}" to "v1.60") |
||
Line 9: | Line 9: | ||
|gr1= Triggers | |gr1= Triggers | ||
| Returns currently monitored trigger area. Since Arma 3 v1. | | Returns currently monitored trigger area. Since Arma 3 v1.60, the command returns 3rd dimension for the monitored area. If height is not set, the value for it would be -1. | ||
{{Feature | important | The trigger could be [[local]] or remote but the result returned by this command will be for the trigger area set up locally on the client that executed the command. See [[createTrigger]] for more info.}} | {{Feature | important | The trigger could be [[local]] or remote but the result returned by this command will be for the trigger area set up locally on the client that executed the command. See [[createTrigger]] for more info.}} | ||
Revision as of 10:22, 3 April 2021
Description
- Description:
- Description needed
- Groups:
- Triggers
Syntax
- Syntax:
- Syntax needed
- Parameters:
- trigger: Object
- Return Value:
- Return value needed
Examples
- Example 1:
_area = triggerArea sensor1; // result is [200, 120, 45, false, -1];
Additional Information
- See also:
- setTriggerAreainAreainAreaArray
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