showWaypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "_this" to "_this")
Line 21: Line 21:
<dt class='note'>'''[[User:User Name|User Name]]'''</dt>
<dt class='note'>'''[[User:User Name|User Name]]'''</dt>
<dd class='note'>This is an example note. It is true and verifiable, and contains a little code snippet.
<dd class='note'>This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] Leave it here for others to read; };</code></dd>
<code>[[if]] ([[Magic Variables#this|_this]] == anExample) [[then]] { [[hint]] Leave it here for others to read; };</code></dd>
-->
-->
<dd class='notedate'>Posted on May 27th, 2020 - 07:20 (UTC)</dd>
<dd class='notedate'>Posted on May 27th, 2020 - 07:20 (UTC)</dd>

Revision as of 13:19, 25 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Waypoints

Syntax

Syntax:
Syntax needed
Parameters:
enabled: Boolean
Return Value:
Return value needed

Examples

Example 1:
showWaypoints true;

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
Posted on May 27th, 2020 - 07:20 (UTC)
PierreMGI
Even if you set your difficulty with "waypoints: hide", if you are using addWaypoint command for player, you will see your waypoints displayed on map,with the track to follow. Some other cases using addWaypoint will allow this unexpected behaviour on map and the code: showWaypoints FALSE; will not change anything for map.
You need to use showWaypoint command instead, on each added waypoints:
_wp = group player addWaypoint [getMarkerPos "aMarker",0];
_wp showWaypoint "NEVER";