setWaypointType: 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|SETWAYPOINTTYPE]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETWAYPOINTTYPE]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETWAYPOINTTYPE]]


| ofpr |= Game name


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


| Changes the waypoint type. Type can be: "MOVE", "DESTROY", "GETIN", "SAD", "JOIN", "LEADER", "GETOUT", "CYCLE", "LOAD", "UNLOAD", "TR UNLOAD", "HOLD", "SENTRY", "GUARD", "TALK", "SCRIPTED", "SUPPORT", "GETIN NEAREST", "AND" or "OR". |= Description
____________________________________________________________________________________________


'''Operand types:'''
| waypoint '''setWaypointType''' type |= Syntax


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


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


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[grp, 2] setWaypointType "HOLD"</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>


Changes the waypoint type.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETWAYPOINTTYPE]]
Type can be: "MOVE", "DESTROY", "GETIN", "SAD", "JOIN", "LEADER", "GETOUT", "CYCLE", "LOAD", "UNLOAD", "TR UNLOAD", "HOLD", "SENTRY", "GUARD", "TALK", "SCRIPTED", "SUPPORT", "GETIN NEAREST", "AND" or "OR".
[[Category:Scripting Commands OFP Elite |SETWAYPOINTTYPE]]
 
[[Category:Scripting Commands ArmA|SETWAYPOINTTYPE]]
 
'''Example:'''
 
[grp, 2] '''setWaypointType''' "HOLD"

Revision as of 00:40, 2 August 2006

Hover & click on the images for description

Description

Description:
Changes the waypoint type. Type can be: "MOVE", "DESTROY", "GETIN", "SAD", "JOIN", "LEADER", "GETOUT", "CYCLE", "LOAD", "UNLOAD", "TR UNLOAD", "HOLD", "SENTRY", "GUARD", "TALK", "SCRIPTED", "SUPPORT", "GETIN NEAREST", "AND" or "OR".
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWaypointType type
Parameters:
waypoint: Array
type: String
Return Value:
Nothing

Examples

Example 1:
[grp, 2] setWaypointType "HOLD"

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