showWaypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)<nowiki\/?>([^<]*)<\/code>" to "<code>$1$2</code>")
m (Some wiki formatting)
 
(One intermediate revision by one other user not shown)
Line 18: Line 18:
}}
}}


<dl class="command_description">
{{Note
 
|user= PierreMGI
<dd class="notedate">Posted on May 27th, 2020 - 07:20 (UTC)</dd>
|timestamp= 20200527072000
<dt class="note">[[User:PierreMGI|PierreMGI]]</dt>
|text= 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.
<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 <sqf inline>showWaypoints false;</sqf> will not change anything for map.<br>
Some other cases using addWaypoint will allow this unexpected behaviour on map and the code {{ic|[[showWaypoints]] [[false]];}} will not change anything for map.<br>
You need to use [[showWaypoint]] command instead, on each added waypoints:
You need to use [[showWaypoint]] command instead, on each added waypoints:
<code>_wp = group player addWaypoint [getMarkerPos "aMarker", 0];
<sqf>
_wp showWaypoint "NEVER";</code></dd>
_wp = group player addWaypoint [getMarkerPos "aMarker", 0];
 
_wp showWaypoint "NEVER";
</dl>
</sqf>
}}

Latest revision as of 16:11, 27 July 2022

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:
Waypoints

Syntax

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

Examples

Example 1:
showWaypoints true;

Additional Information

See also:
showWaypoint waypointShow

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
PierreMGI - c
Posted on May 27, 2020 - 07:20 (UTC)
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";