setWaypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - ">Posted on September ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-09-$1")
 
(55 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma2oa |= Game name
|game1= arma2oa
|version1= 1.55


|1.55|= Game version
|game2= tkoh
|version2= 1.00


|eff= global|= Effects in MP
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| Sets the visibility of the waypoint. |= Description
|eff= global
____________________________________________________________________________________________


| waypoint '''setWaypointVisible''' visible |= Syntax
|gr1= Waypoints


|p1 = waypoint: [[Array]] - format [[Waypoint]] |= Parameter 1
|descr= Sets the visibility of the given waypoint in 3D HUD view (for map visibility see [[showWaypoint]]).


|p2 = visible: [[Boolean]] |= Parameter 2
|s1= waypoint [[setWaypointVisible]] visible


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


|p2= visible: [[Boolean]]


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


|x2= <code>[group player, currentWaypoint (group player)] setWaypointVisible false;</code>|= EXAMPLE2
|x1= <sqf>[grp, 2] setWaypointVisible false;</sqf>


____________________________________________________________________________________________
|x2= <sqf>[group player, currentWaypoint group player] setWaypointVisible false;</sqf>
 
|seealso= [[waypointVisible]] [[showWaypoint]]
}}


|  [[addWaypoint]], [[waypointVisible]] |= SEEALSO


|  |= MPBEHAVIOUR
<dl class="command_description">
____________________________________________________________________________________________
}}


<h3 style='display:none'>Notes</h3>
<dt></dt>
<dl class='command_description'>
<dd class="notedate">Posted on 2015-09-23 - 08:22 (UTC)</dd>
<!-- Note Section BEGIN -->
<dt class="note">[[User:Sixtyfour|Sixtyfour]]</dt>
<dd class="note">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.
</dd>


<!-- Note Section END -->
</dl>
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:10, 13 May 2023

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:
waypointVisible showWaypoint

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 2015-09-23 - 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.