setWaypointBehaviour: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ") |
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
||
Line 44: | Line 44: | ||
|p2= mode: [[String]] As Above | |p2= mode: [[String]] As Above | ||
|r1=[[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[_grp, 2] [[setWaypointBehaviour]] "AWARE";</code> | |x1= <code>[_grp, 2] [[setWaypointBehaviour]] "AWARE";</code> |
Revision as of 23:46, 7 August 2021
Description
- Description:
- Switches the unit behaviour when the waypoint becomes active.
Possible values are:- "UNCHANGED"
- "CARELESS"
- "SAFE"
- "AWARE"
- "COMBAT"
- "STEALTH"
- Groups:
- Waypoints
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:
- behaviour descriptionAIBehaviourwaypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointSpeed
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
- Posted on August 26, 2008 - 13:32
- Str
- Modes are case sensitive - "safe" won't work, while "SAFE" is ok.
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Elite version 1.00
- Operation Flashpoint: Elite: New Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Waypoints
- Scripting Commands: Global Effect
- Scripting Commands: Server Execution