setWaypointBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
'''Description:'''
'''Description:'''


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


'''Example:'''
'''Example:'''


[grp, 2] '''setWaypointBehaviour''' "AWARE"
[grp, 2] '''setWaypointBehaviour''' "AWARE"

Revision as of 21:49, 4 July 2006


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"