setWaypointBehaviour: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
mNo edit summary |
||
Line 40: | Line 40: | ||
|s1= waypoint [[setWaypointBehaviour]] mode | |s1= waypoint [[setWaypointBehaviour]] mode | ||
|p1= waypoint: | |p1= waypoint: [[Waypoint]] | ||
|p2= mode: [[String]] | |p2= mode: [[String]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] |
Revision as of 12:55, 9 October 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: Waypoint
- mode: String
- 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