showWaypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Add seealso link)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command
|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00
|arg=
 
|gr1= Waypoints
|gr1= Waypoints


Line 9: Line 10:


|p1= enabled: [[Boolean]]
|p1= enabled: [[Boolean]]
|p2=
 
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= [[showWaypoints]] [[true]];
|x1= <code>[[showWaypoints]] [[true]];</code>


|seealso=
|seealso= [[showWaypoint]] [[waypointShow]]
}}
}}


<dl class="command_description">
<dl class="command_description">
<!-- For example:
 
<dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd>
<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.
<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>
<dt class='note'>'''[[User:PierreMGI|PierreMGI]]'''</dt>
<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>
<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.
<code>_wp = group player addWaypoint [getMarkerPos "aMarker",0];<br>_wp showWaypoint "NEVER";</code></dd>
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:
<code>_wp = [[group]] [[player]] [[addWaypoint]] [<nowiki/>[[getMarkerPos]] "aMarker", 0];
_wp [[showWaypoint]] "NEVER";</code></dd>


</dl>
</dl>

Revision as of 00:31, 22 June 2021

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