setWaypointBehaviour: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)\]\], \[\[" to "|seealso= $1]] [[") |
Lou Montana (talk | contribs) m (Text replacement - ">Posted on August ([0-9]{2}), ([0-9]{4})" to ">Posted on $2-08-$1") |
||
(22 intermediate revisions by the same user not shown) | |||
Line 48: | Line 48: | ||
|x1= <sqf>[_grp, 2] setWaypointBehaviour "AWARE";</sqf> | |x1= <sqf>[_grp, 2] setWaypointBehaviour "AWARE";</sqf> | ||
|seealso= | |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