showWaypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |p3= |PARAMETER3= |p3= |PARAMETER4= |p3= |PARAMETER5= |p3= |PARAMETER6=" to "")
No edit summary
Line 24: Line 24:
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] Leave it here for others to read; };</code></dd>
<code>[[if]] ([[_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>
<dt class='note'>'''[[User:PierreMGI|PierreMGI]]'''</dt>
<dd class='note'>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: <code>showWaypoints FALSE;</code> will not change anything for map.<br>You need to use [[showWaypoint]] command instead, on each added waypoints:<br>
<code>_wp = group player addWaypoint [getMarkerPos "aMarker",0];<br>_wp showWaypoint "NEVER";</code></dd>
<!-- END Note Section -->
<!-- END Note Section -->
</dl>
</dl>

Revision as of 08:34, 27 May 2020

Hover & click on the images for description

Description

Description:
Shows/Hides task HUD markers and waypoints that will fade out in time. Dependable on difficulty settings.
Groups:
Uncategorised

Syntax

Syntax:
showWaypoints enabled
Parameters:
enabled: Bool
Return Value:
Nothing

Examples

Example 1:
showWaypoints true;

Additional Information

See also:
-

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";

Bottom Section