setWaypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - ">Posted on September ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-09-$1")
 
(48 intermediate revisions by 5 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]] |PARAMETER1=
|descr= Sets the visibility of the given waypoint in 3D HUD view (for map visibility see [[showWaypoint]]).


|p2 = visible: [[Boolean]] |PARAMETER2=
|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><nowiki>[</nowiki>[[group]] [[player]], [[currentWaypoint]] ([[group]] [[player]])] [[setWaypointVisible]] [[false]];</code> |EXAMPLE2=
|x1= <sqf>[grp, 2] setWaypointVisible false;</sqf>
____________________________________________________________________________________________


| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[currentWaypoint]], [[waypointSpeed]], [[setWPPos]] |SEEALSO=
|x2= <sqf>[group player, currentWaypoint group player] setWaypointVisible false;</sqf>


| |MPBEHAVIOUR=  
|seealso= [[waypointVisible]] [[showWaypoint]]
____________________________________________________________________________________________
}}
}}


<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->


<!-- Note Section END -->
<dl class="command_description">
</dl>


<h3 style='display:none'>Bottom Section</h3>
<dt></dt>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
<dd class="notedate">Posted on 2015-09-23 - 08:22 (UTC)</dd>
[[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}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]
 
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on September 23, 2015 - 08:22 (UTC)</dd>
<dt class="note">[[User:Sixtyfour|Sixtyfour]]</dt>
<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 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>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

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.