setWaypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2oa |Game name=
| arma2oa |Game name=
Line 9: Line 8:


|gr1= Waypoints |GROUP1=
|gr1= Waypoints |GROUP1=
____________________________________________________________________________________________


| 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]]). |DESCRIPTION=
____________________________________________________________________________________________


| waypoint '''setWaypointVisible''' visible |SYNTAX=
| waypoint '''setWaypointVisible''' visible |SYNTAX=
Line 26: Line 23:


|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> |EXAMPLE2=
____________________________________________________________________________________________


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 03:54, 17 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

Notes

Bottom Section


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.