showWaypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ |arma3 |= Game |1.00|= Game Version |arg= |= Multiplayer Arguments |...")
 
m (Some wiki formatting)
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________
 
|arma3 |= Game
|game1= arma3
|1.00|= Game Version
|version1= 1.00
|arg=  |= Multiplayer Arguments
 
|eff=  |= Multiplayer Effects
|gr1= Waypoints
____________________________________________________________________________________________
 
| Shows/Hides task HUD markers and waypoints that will fade out in time. Dependable on difficulty settings. |= Description
|descr= Shows/Hides task HUD markers and waypoints that will fade out in time. Dependable on difficulty settings.
____________________________________________________________________________________________
|s1= [[showWaypoints]] enabled
| [[showWaypoints]] enabled |= Syntax
 
|p1= enabled: [[Bool]] |= Parameter 1
|p1= enabled: [[Boolean]]
|p2=  |= Parameter 2
 
|p3=  |= Parameter 3
|r1= [[Nothing]]
|p3=  |= Parameter 4
|p3=  |= Parameter 5
|p3= |= Parameter 6
| [[Nothing]] |= Return Value
|x1= [[showWaypoints]] [[true]]; |= Example 1
| - |= See Also
}}


<dl class='command_description'>
|x1= <sqf>showWaypoints true;</sqf>
<!-- BEGIN Note Section -->
<!-- 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]] ([[_this]] == anExample) [[then]] { [[hint]] Leave it here for others to read; };</code></dd>
-->
<!-- END Note Section -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
|seealso= [[showWaypoint]] [[waypointShow]]
<!-- Appropriate categories go here -->
}}


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{Note
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
|user= PierreMGI
|timestamp= 20200527072000
|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.
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>
You need to use [[showWaypoint]] command instead, on each added waypoints:
<sqf>
_wp = group player addWaypoint [getMarkerPos "aMarker", 0];
_wp showWaypoint "NEVER";
</sqf>
}}

Latest revision as of 17: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";