setWaypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
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= ")
Line 16: Line 16:
|descr= Sets the visibility of the given waypoint in 3D HUD view (for map visibility see [[showWaypoint]]).
|descr= Sets the visibility of the given waypoint in 3D HUD view (for map visibility see [[showWaypoint]]).


|s1= waypoint '''setWaypointVisible''' visible
|s1= waypoint '''setWaypointVisible''' visible


|p1= waypoint: [[Array]] - format [[Waypoint]]
|p1= waypoint: [[Array]] - format [[Waypoint]]

Revision as of 23:54, 19 June 2021

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:
waypointVisibleshowWaypoint

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.