setWaypointVisible: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) 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
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.
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.55
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Waypoints
- Scripting Commands: Global Effect
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands