setWaypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 26: Line 26:
|x1= <code>[grp, 2] setWaypointVisible false;</code>
|x1= <code>[grp, 2] setWaypointVisible false;</code>


|x2= <code><nowiki>[</nowiki>group player, currentWaypoint (group [[player]])] [[setWaypointVisible]] [[false]];</code>
|x2= <code><nowiki>[</nowiki>group player, currentWaypoint (group player)] [[setWaypointVisible]] [[false]];</code>


|seealso= [[waypointVisible]] [[showWaypoint]]
|seealso= [[waypointVisible]] [[showWaypoint]]

Revision as of 11:19, 12 May 2022

Hover & click on the images for description

Description

Description:
Sets the visibility of the given waypoint in 3D HUD view (for map visibility see showWaypoint).
Groups:
Waypoints

Syntax

Syntax:
waypoint setWaypointVisible visible
Parameters:
waypoint: Array - format Waypoint
visible: Boolean
Return Value:
Nothing

Examples

Example 1:
[grp, 2] setWaypointVisible false;
Example 2:
[group player, currentWaypoint (group player)] setWaypointVisible false;

Additional Information

See also:
waypointVisible showWaypoint

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 September 23, 2015 - 08:22 (UTC)
Sixtyfour
This does not apply to Zeus/Curator view... so this command won't hide the Waypoint lines and icons from your view as a Zeus when units are in your EditableAddons list.