setWaypointBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(add. ArmA2 classification)
Line 41: Line 41:
[[Category:Scripting Commands ArmA|SETWAYPOINTBEHAVIOUR]]
[[Category:Scripting Commands ArmA|SETWAYPOINTBEHAVIOUR]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 18:32, 3 June 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

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

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

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

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

Bottom Section