setWaypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2oa |Game name=
| arma2oa


|1.55|Game version=
|1.55


|eff= global|Multiplayer Effects=
|eff= global


|gr1= Waypoints |GROUP1=
|gr1= Waypoints


| Sets the visibility of the given waypoint in 3D HUD view (for map visibility see [[showWaypoint]]). |DESCRIPTION=
| Sets the visibility of the given waypoint in 3D HUD view (for map visibility see [[showWaypoint]]).


| waypoint '''setWaypointVisible''' visible |SYNTAX=
| waypoint '''setWaypointVisible''' visible


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


|p2 = visible: [[Boolean]] |PARAMETER2=
|p2 = visible: [[Boolean]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]




|x1= <code>[grp, 2] [[setWaypointVisible]] [[false]];</code> |EXAMPLE1=
|x1= <code>[grp, 2] [[setWaypointVisible]] [[false]];</code>


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


|  [[waypointVisible]], [[showWaypoint]] |SEEALSO=
|  [[waypointVisible]], [[showWaypoint]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 12:27, 18 January 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.