setWaypointBehaviour: Difference between revisions
Jump to navigation
Jump to search
SilentSpike (talk | contribs) (requires server execution) |
m (template:command argument fix) |
||
Line 22: | Line 22: | ||
* "STEALTH" | * "STEALTH" | ||
See the [[AIBehaviour]] page for details of the effect of this command on AI units. |= | See the [[AIBehaviour]] page for details of the effect of this command on AI units. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| waypoint '''setWaypointBehaviour''' mode |= | | waypoint '''setWaypointBehaviour''' mode |SYNTAX= | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] |= | |p1= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1= | ||
|p2= mode: [[String]] As Above |= | |p2= mode: [[String]] As Above |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[_grp, 2] [[setWaypointBehaviour]] "AWARE";</code> |= | |x1= <code>[_grp, 2] [[setWaypointBehaviour]] "AWARE";</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Mission_Editor:_Waypoints#Behaviour|behaviour description]], [[AIBehaviour]], [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]] |= | | [[Mission_Editor:_Waypoints#Behaviour|behaviour description]], [[AIBehaviour]], [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]] |SEEALSO= | ||
}} | }} |
Revision as of 14:48, 7 April 2019
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
- 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
Notes
- Posted on August 26, 2008 - 13:32
- Str
- Modes are case sensitive - "safe" won't work, while "SAFE" is ok.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Waypoints
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters