customWaypointPosition: Difference between revisions

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


| arma3 |Game=
| arma3 |Game=
Line 13: Line 12:


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


| Returns player's custom waypoint (LShift + LMB) [[Position]] or an empty array <tt>[]</tt> if no custom waypoint exists. |Description=
| Returns player's custom waypoint (LShift + LMB) [[Position]] or an empty array <tt>[]</tt> if no custom waypoint exists. |Description=
____________________________________________________________________________________________


| [[customWaypointPosition]] |Syntax=
| [[customWaypointPosition]] |Syntax=


| [[Position]] in format [x,y,0] or [] |Return Value=
| [[Position]] in format [x,y,0] or [] |Return Value=
____________________________________________________________________________________________


|x1= <code>[[customWaypointPosition]]</code> |Example 1=
|x1= <code>[[customWaypointPosition]]</code> |Example 1=
____________________________________________________________________________________________


| [[allMapMarkers]] |See Also=
| [[allMapMarkers]] |See Also=

Revision as of 00:56, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns player's custom waypoint (LShift + LMB) Position or an empty array [] if no custom waypoint exists.
Groups:
Waypoints

Syntax

Syntax:
customWaypointPosition
Return Value:
Position in format [x,y,0] or []

Examples

Example 1:
customWaypointPosition

Additional Information

See also:
allMapMarkers

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

Bottom Section