Arma 3 Scripting

setWaypointBehaviour

  • Global effect
  • Server only
  • Arma 3 v0.50
  • First in Operation Flashpoint: Elite v1.00

Command · Markdown · JSON · original wiki page

Description

Switches the unit behaviour when the waypoint becomes active.

Possible values are:

See the AIBehaviour page for details of the effect of this command on AI units.

Syntax

waypoint setWaypointBehaviour mode

Parameters:

Returns: Nothing

Examples

Example 1

[_grp, 2] setWaypointBehaviour "AWARE";

See also

Mission Editor: Waypoints · AIBehaviour · waypoints · deleteWaypoint · copyWaypoints · setCurrentWaypoint · setWaypointCombatMode · setWaypointCompletionRadius · setWaypointDescription · setWaypointFormation · setWaypointHousePosition · setWaypointPosition · setWaypointScript · setWaypointSpeed · setWaypointStatements · setWaypointTimeout · setWaypointType · setWaypointVisible · waypointAttachVehicle · waypointAttachedVehicle · setWaypointLoiterRadius · waypointLoiterRadius · addWaypoint · setWaypointLoiterType · waypointSpeed

Community notes

Str

Modes are case sensitive - "safe" won't work, while "SAFE" is ok.