Arma 3 Scripting

Command in Waypoints

setWaypointBehaviour

Also available as Markdown and JSON, or read the 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