setWaypointBehaviour: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite *(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 11: | Line 10: | ||
|gr1= Waypoints |GROUP1= | |gr1= Waypoints |GROUP1= | ||
| Switches the unit behaviour when the waypoint becomes active. | | Switches the unit behaviour when the waypoint becomes active. | ||
Line 25: | Line 23: | ||
See the [[AIBehaviour]] page for details of the effect of this command on AI units. |DESCRIPTION= | See the [[AIBehaviour]] page for details of the effect of this command on AI units. |DESCRIPTION= | ||
| waypoint '''setWaypointBehaviour''' mode |SYNTAX= | | waypoint '''setWaypointBehaviour''' mode |SYNTAX= | ||
Line 34: | Line 31: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[_grp, 2] [[setWaypointBehaviour]] "AWARE";</code> |EXAMPLE1= | |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]] |SEEALSO= | | [[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 03:43, 17 January 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
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 Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: Waypoints
- Scripting Commands: Global Effect
- Scripting Commands: Server Execution
- Operation Flashpoint: Elite: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands