setWaypointType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (upd. links)
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| waypoint '''setWaypointType''' type |= Syntax
| [[Waypoint]] '''setWaypointType''' "type" |= Syntax


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


|p2= type: [[String]] |= Parameter 2
|p2= type: [[String]] |= Parameter 2
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[grp, 2] setWaypointType "HOLD"</pre> |= Example 1
|x1= <pre>[_grp, 2] setWaypointType "HOLD"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 13:07, 31 August 2007

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

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

For waypoint types description look at

Bottom Section