createGuardedPoint: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (example formate) |
||
Line 27: | Line 27: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>_point <nowiki>=</nowiki> [[createGuardedPoint]] [ [[east]], [0, 0], -1, [[vehicle]] [[player]] ];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 07:46, 9 August 2014
Description
- Description:
- Adds a point guarded by the given side. The actual item or position guarded is determined by the following priority.
- If idStatic is not negative, the position of a static object with the given id is guarded.
- If the given vehicle is valid, the starting position of the vehicle is guarded.
- otherwise the given position is guarded.
- Groups:
- Uncategorised
Syntax
- Syntax:
- createGuardedPoint [side, position, idStatic, vehicle]
- Parameters:
- [side, position, idStatic, vehicle]: Array
- side: Side
- position: Position
- idStatic: Number
- vehicle: Object
- Return Value:
- Nothing or undocumented
Examples
- Example 1:
_point = createGuardedPoint [ east, [0, 0], -1, vehicle player ];
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Sides
- Command Group: Waypoints
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters