createGuardedPoint
Jump to navigation
Jump to search
createGuardedPoint [side, position, idStatic, vehicle]
Operand types:
[side, position, idStatic, vehicle]: Array
Type of returned value:
Compatibility:
Version 1.86 required.
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.
Example:
point = createGuardedPoint [ east, [0, 0], -1, vehicle player ]