setTriggerArea: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.86|= Game version | |||
____________________________________________________________________________________________ | |||
| 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. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | trigger '''setTriggerArea''' [a, b, angle, rectangle] |= Syntax | ||
|p1= trigger: [[Object]] |= Parameter 1 | |||
|p2= [a, b, angle, rectangle]: [[Array]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>trigger setTriggerArea [100, 50, 45, [[false]] ]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETTRIGGERAREA]] | |||
[[Category:Scripting Commands OFP Elite |SETTRIGGERAREA]] | |||
[[Category:Scripting Commands ArmA|SETTRIGGERAREA]] | |||
Revision as of 23:32, 1 August 2006
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
- Return Value:
- Nothing
Examples
- Example 1:
trigger setTriggerArea [100, 50, 45, [[false]] ]
Additional Information
- See also:
- See also needed
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