showWaypoints: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x1=([^ ]+) *\| *\}\}" to "|x1=$1 |seealso= }}") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma3 | |||
|1.00 | |game1= arma3 | ||
|version1= 1.00 | |||
|gr1= Waypoints | |gr1= Waypoints | ||
| Shows/Hides task HUD markers and waypoints that will fade out in time. Dependable on difficulty settings. | |||
|s1= | |descr= Shows/Hides task HUD markers and waypoints that will fade out in time. Dependable on difficulty settings. | ||
|s1= [[showWaypoints]] enabled | |||
|p1= enabled: [[Boolean]] | |p1= enabled: [[Boolean]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= | |x1= <sqf>showWaypoints true;</sqf> | ||
|seealso= | |seealso= [[showWaypoint]] [[waypointShow]] | ||
}} | }} | ||
{{Note | |||
|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 16:11, 27 July 2022
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 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: