Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:

Switches the unit behavior, when the waypoint becomes active. 

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

Syntax

Syntax:waypoint setWaypointBehaviour mode
Parameters:
  • waypoint: Waypoint
  • mode: String - Behavior mode. Can be: "UNCHANGED", "CARELESS", "SAFE", "AWARE", "COMBAT" and "STEALTH".
Return Value:Nothing

Examples

Examples:
[_grp, 2] setWaypointBehaviour "AWARE";

Additional Information

See also: waypointBehaviour
Multiplayer:
Problems:

Notes





Posted on August 26, 2008 - 13:32
Str
Modes are case sensitive - "safe" won't work, while "SAFE" is ok.