setWaypointBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (<pre> to <code> + "see also" + Desc. tidy)
Line 8: Line 8:


| Switches the unit behaviour when the waypoint becomes active.
| Switches the unit behaviour when the waypoint becomes active.
 
<br>
<br>
Possible values are:
Possible values are:
* "UNCHANGED"
* "UNCHANGED"
Line 17: Line 18:
* "STEALTH"
* "STEALTH"


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. |= Description
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 30: Line 30:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[_grp, 2] setWaypointBehaviour "AWARE"</pre> |= Example 1
|x1= <code>[_grp, 2] [[setWaypointBehaviour]] "AWARE";</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Mission_Editor:_Waypoints#Behaviour|behaviour description]], [[AIBehaviour]], [[addWaypoint]], [[waypointBehaviour]], [[behaviour]], [[setBehaviour]] |= See also
| [[Mission_Editor:_Waypoints#Behaviour|behaviour description]], [[AIBehaviour]], [[addWaypoint]], [[waypointBehaviour]], [[behaviour]], [[setBehaviour]],
[[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointLoiterRadius]], [[setWaypointLoiterType]], [[setWaypointName]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]] |= See also


}}
}}

Revision as of 11:08, 12 April 2014

-wrong parameter ("Arma") defined!-1.00
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:
Uncategorised

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 descriptionAIBehaviouraddWaypointwaypointBehaviourbehavioursetBehaviour, setWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointLoiterRadiussetWaypointLoiterTypesetWaypointNamesetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisible

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