Arma 3 Scripting

createGuardedPoint

  • Arma 3 v0.50
  • First in Operation Flashpoint: Elite v1.00

Command · Markdown · JSON · 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:

To be used with "GUARD" waypoint.

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