setWaypointBehaviour: Difference between revisions
Jump to navigation
Jump to search
m (Added: See also) |
Lou Montana (talk | contribs) m (Text replacement - ">Posted on August ([0-9]{2}), ([0-9]{4})" to ">Posted on $2-08-$1") |
||
(77 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| | |game1= ofpe | ||
|version1= 1.00 | |||
|1.00 | |game2= arma1 | ||
|version2= 1.00 | |||
| | |game3= arma2 | ||
|version3= 1.00 | |||
|game4= arma2oa | |||
|version4= 1.50 | |||
|game5= tkoh | |||
|version5= 1.00 | |||
|game6= arma3 | |||
|version6= 0.50 | |||
|serverExec= server | |||
|eff= global | |||
|gr1= Waypoints | |||
|descr= Switches the unit behaviour when the waypoint becomes active. | |||
<br> | |||
<br> | |||
Possible values are: | Possible values are: | ||
* "UNCHANGED" | * "UNCHANGED" | ||
Line 18: | Line 37: | ||
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. | ||
| waypoint | |s1= waypoint [[setWaypointBehaviour]] mode | ||
|p1= waypoint: | |p1= waypoint: [[Waypoint]] | ||
|p2= mode: [[String]] | |p2= mode: [[String]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
| [ | |x1= <sqf>[_grp, 2] setWaypointBehaviour "AWARE";</sqf> | ||
|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]] | |||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
< | |||
<dd class="notedate">Posted on | <dt></dt> | ||
<dt class="note"> | <dd class="notedate">Posted on 2008-08-26 - 13:32</dd> | ||
<dt class="note">[[User:Str|Str]]</dt> | |||
<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