Arma 3 Scripting

Command in Waypoints

createGuardedPoint

Also available as Markdown and JSON, or read the original wiki page.

Description

Adds a point guarded by the given side (scripted way of adding equivalent of "GUARDED BY" trigger in Editor). A closest AI group in the given side with assigned "GUARD" waypoint will attempt to secure this guard point. The actual guarded position is determined via the following rules:

Note

To know how does the "GUARD" waypoint work, see Waypoint:Guard.

Syntax

createGuardedPoint [side, position, objectMapID, vehicle]

Parameters:

Returns: Nothing

Examples

Example 1

createGuardedPoint [east, [0,0], -1, vehicle player];

See also

createTrigger · addWaypoint · setWaypointType