setWaypointVisible: Difference between revisions
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 "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma2oa | | arma2oa | ||
|1.55 | |1.55 | ||
|eff= global | |eff= global | ||
|gr1= Waypoints | |gr1= Waypoints | ||
| Sets the visibility of the given waypoint in 3D HUD view (for map visibility see [[showWaypoint]]). | | Sets the visibility of the given waypoint in 3D HUD view (for map visibility see [[showWaypoint]]). | ||
| waypoint '''setWaypointVisible''' visible | | waypoint '''setWaypointVisible''' visible | ||
|p1 = waypoint: [[Array]] - format [[Waypoint]] | |p1 = waypoint: [[Array]] - format [[Waypoint]] | ||
|p2 = visible: [[Boolean]] | |p2 = visible: [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|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> | ||
| [[waypointVisible]], [[showWaypoint]] | | [[waypointVisible]], [[showWaypoint]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:27, 18 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
- 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