setWaypointBehaviour: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.86|= Game version | |||
____________________________________________________________________________________________ | |||
| Switches the unit behaviour when the waypoint becomes active. Possible values are: "UNCHANGED", "CARELESS", "SAFE", "AWARE", "COMBAT" and "STEALTH". |= Description | |||
____________________________________________________________________________________________ | |||
''' | | waypoint '''setWaypointBehaviour''' mode |= Syntax | ||
|p1= waypoint: [[Array]] |= Parameter 1 | |||
|p2= mode: [[String]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>[grp, 2] setWaypointBehaviour "AWARE"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETWAYPOINTBEHAVIOUR]] | |||
[[Category:Scripting Commands OFP Elite |SETWAYPOINTBEHAVIOUR]] | |||
[[Category:Scripting Commands ArmA|SETWAYPOINTBEHAVIOUR]] | |||
[ |
Revision as of 23:38, 1 August 2006
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