waypointType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|gr1= Waypoints |GROUP1=
|gr1= Waypoints


| Gets the waypoint type.
| Gets the waypoint type.
Line 33: Line 33:


More details at [[Waypoints]].
More details at [[Waypoints]].
|DESCRIPTION=


| '''waypointType''' waypoint |SYNTAX=


|p1= waypoint:  [[Array]] - format [[Waypoint]]  |PARAMETER1=
| '''waypointType''' waypoint


|p2= |PARAMETER2=  
|p1= waypoint:  [[Array]] - format [[Waypoint]]


|p3= |PARAMETER3=  
|p2=


| [[String]] |RETURNVALUE=
|p3=
 
| [[String]]




|x1= <code>[[waypointType]] [groupOne,1],
|x1= <code>[[waypointType]] [groupOne,1],
</code>|EXAMPLE1=
</code>




| [[Mission_Editor:_Waypoints#Select_Type|waypoints description]], [[Waypoints]], [[waypoints]], [[setWaypointType]] |SEEALSO=
| [[Mission_Editor:_Waypoints#Select_Type|waypoints description]], [[Waypoints]], [[waypoints]], [[setWaypointType]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 12:42, 18 January 2021

Hover & click on the images for description

Description

Description:
Gets 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"
  • "DISMISS"
  • "AND"
  • "OR"
More details at Waypoints.
Groups:
Waypoints

Syntax

Syntax:
waypointType waypoint
Parameters:
waypoint: Array - format Waypoint
Return Value:
String

Examples

Example 1:
waypointType [groupOne,1],

Additional Information

See also:
waypoints descriptionWaypointswaypointssetWaypointType

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


Posted on August 6, 2015 - 16:57 (UTC)
Ghost77788
With the new sling loading in Arma 3, 2 new waypoint types are added aswell being: Drop Cargo and Lift Cargo. The names for these 2 waypoints are: "UNHOOK" and "HOOK".
Posted on July 30, 2020 - 09:14 (UTC)
fusselwurm
Returns empty string if passed waypoint does not exist.