showWaypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "Bool" to "Boolean")
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[showWaypoints]] enabled |SYNTAX=
| [[showWaypoints]] enabled |SYNTAX=
|p1= enabled: [[Bool]] |PARAMETER1=
|p1= enabled: [[Boolean]] |PARAMETER1=
|p2=  |PARAMETER2=
|p2=  |PARAMETER2=
| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=

Revision as of 00:25, 24 August 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: Boolean
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