setWaypointBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETWAYPOINTBEHAVIOUR]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETWAYPOINTBEHAVIOUR]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETWAYPOINTBEHAVIOUR]]


| ofpr |= Game name


<h2 style="color:#000066">'''''waypoint'' setWaypointBehaviour ''mode'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| Switches the unit behaviour when the waypoint becomes active. Possible values are: "UNCHANGED", "CARELESS", "SAFE", "AWARE", "COMBAT" and "STEALTH". |= Description
____________________________________________________________________________________________


'''Operand types:'''
| waypoint '''setWaypointBehaviour''' mode |= Syntax


'''waypoint:''' [[Array]]
|p1= waypoint: [[Array]] |= Parameter 1


'''mode:''' [[String]]
|p2= mode: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[grp, 2] setWaypointBehaviour "AWARE"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Switches the unit behaviour when the waypoint becomes active.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETWAYPOINTBEHAVIOUR]]
Possible values are: "UNCHANGED", "CARELESS", "SAFE", "AWARE", "COMBAT" and "STEALTH".
[[Category:Scripting Commands OFP Elite |SETWAYPOINTBEHAVIOUR]]
 
[[Category:Scripting Commands ArmA|SETWAYPOINTBEHAVIOUR]]
 
'''Example:'''
 
[grp, 2] '''setWaypointBehaviour''' "AWARE"

Revision as of 23:38, 1 August 2006

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" and "STEALTH".
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWaypointBehaviour mode
Parameters:
waypoint: Array
mode: String
Return Value:
Nothing

Examples

Example 1:
[grp, 2] setWaypointBehaviour "AWARE"

Additional Information

See also:
See also needed

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

Bottom Section