setWaypointBehaviour

From Bohemia Interactive Community
Revision as of 16:42, 4 July 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search


waypoint setWaypointBehaviour mode


Operand types:

waypoint: Array

mode: String

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

Switches the unit behaviour when the waypoint becomes active. Possible values are: "UNCHANGED", "CARELESS", "SAFE", "AWARE", "COMBAT" and "STEALTH".

Example:

[grp, 2] setWaypointBehaviour "AWARE"