setWaypointBehaviour

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Armed Assault version 1.00

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Switches the unit behaviour when the waypoint becomes active.

Possible values are:

  • "UNCHANGED"
  • "CARELESS"
  • "SAFE"
  • "AWARE"
  • "COMBAT"
  • "STEALTH"

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

Syntax

Syntax:
waypoint setWaypointBehaviour mode
Parameters:
waypoint: Array - format Waypoint
mode: String As Above
Return Value:
Nothing

Examples

Example 1:
[_grp, 2] setWaypointBehaviour "AWARE"

Additional Information

Multiplayer:
-
See also:
addWaypoint, waypointBehaviour, behaviour, setBehaviour, AIBehaviour

Notes

Notes


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

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

Bottom Section

Personal tools
Google Ads