createGuardedPoint [side, position, idStatic, vehicle]

Operand types

[side, position, idStatic, vehicle]: Array

Type of returned value

Description

Adds a point guarded by the given side.
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.

Used In

ArmA

Example

_Gpoint = createGuardedPoint [West, [1, -1], -1, vehicle player]
Search OFPEC COMREF