setWaypointBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)\]\], *\[\[" to "|seealso= $1]] [[")
m (Text replacement - "\|seealso= ([^ ]+)\]\], *\[\[" to "|seealso= $1]] [[")
Line 48: Line 48:
|x1= <sqf>[_grp, 2] setWaypointBehaviour "AWARE";</sqf>
|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]]
|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]]
}}
}}



Revision as of 12:51, 1 July 2022

Hover & click on the images for description

Description

Description:
Switches the unit behaviour when the waypoint becomes active.

Possible values are:
  • "UNCHANGED"
  • "CARELESS"
  • "SAFE"
  • "AWARE"
  • "COMBAT"
  • "STEALTH"
See the AIBehaviour page for details of the effect of this command on AI units.
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 waypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointSpeed

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 August 26, 2008 - 13:32
Str
Modes are case sensitive - "safe" won't work, while "SAFE" is ok.