waypointType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1= Waypoints |GROUP1=
|gr1= Waypoints |GROUP1=
____________________________________________________________________________________________


| Gets the waypoint type.
| Gets the waypoint type.
Line 36: Line 34:
More details at [[Waypoints]].
More details at [[Waypoints]].
|DESCRIPTION=
|DESCRIPTION=
____________________________________________________________________________________________


| '''waypointType''' waypoint |SYNTAX=
| '''waypointType''' waypoint |SYNTAX=
Line 52: Line 49:
</code>|EXAMPLE1=  
</code>|EXAMPLE1=  


____________________________________________________________________________________________


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 04:17, 17 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.