setWaypointBehaviour: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (Added: See also) |
||
Line 33: | Line 33: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ | | [[Mission_Editor:_Waypoints#Behaviour|behaviour description]], [[AIBehaviour]], [[addWaypoint]], [[waypointBehaviour]], [[behaviour]], [[setBehaviour]] |= See also | ||
}} | }} |
Revision as of 15:10, 16 July 2012
Description
- Description:
- Switches the unit behaviour when the waypoint becomes active.
Possible values are:
- "UNCHANGED"
- "CARELESS"
- "SAFE"
- "AWARE"
- "COMBAT"
- "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
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.