setWaypointBehaviour: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - ">Posted on August ([0-9]{2}), ([0-9]{4})" to ">Posted on $2-08-$1") |
||
(35 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| ofpe | |game1= ofpe | ||
| 1.00 | |version1= 1.00 | ||
|game2= arma1 | |game2= arma1 | ||
Line 25: | Line 25: | ||
|gr1= Waypoints | |gr1= Waypoints | ||
| Switches the unit behaviour when the waypoint becomes active. | |descr= Switches the unit behaviour when the waypoint becomes active. | ||
<br> | <br> | ||
<br> | <br> | ||
Line 38: | Line 38: | ||
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. | ||
|s1= | |s1= waypoint [[setWaypointBehaviour]] mode | ||
|p1= waypoint: | |p1= waypoint: [[Waypoint]] | ||
|p2= mode: [[String]] | |p2= mode: [[String]] | ||
|r1=[[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[_grp, 2] setWaypointBehaviour "AWARE";</sqf> | ||
| [[Mission_Editor:_Waypoints#Behaviour|behaviour description]] | |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]] | ||
}} | }} | ||
Line 54: | Line 54: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <dd class="notedate">Posted on 2008-08-26 - 13:32</dd> | ||
<dt class="note">[[User:Str|Str]]</dt> | <dt class="note">[[User:Str|Str]]</dt> | ||
<dd class="note">Modes are case sensitive - ''"safe"'' won't work, while ''"SAFE"'' is ok. | <dd class="note">Modes are case sensitive - ''"safe"'' won't work, while ''"SAFE"'' is ok. | ||
</dl> | </dl> | ||
Latest revision as of 22:59, 13 May 2023
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 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
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 2008-08-26 - 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