waypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
m (Some wiki formatting)
 
(36 intermediate revisions by 3 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


| Returns the visibility of the waypoint.
|game3= arma3
|version3= 0.50


Returns '''0''' ([[Number]]) for a non valid waypoint. |DESCRIPTION=
|gr1= Waypoints
____________________________________________________________________________________________


| '''waypointVisible''' waypoint |SYNTAX=
|descr= A getter for [[setWaypointVisible]] command.


|p1 = waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1=
{{Feature|warning|Returns '''0''' ([[Number]]) instead of [[Boolean]]for an invalid waypoint.}}


| [[Boolean]] |RETURNVALUE=
|s1= [[waypointVisible]] waypoint


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


|x1= <code>_visible <nowiki>=</nowiki> waypointVisible [groupOne, 1];</code>|EXAMPLE1=
|r1= [[Boolean]]


|x2= <code>_visible <nowiki>=</nowiki> waypointVisible [group player, currentWayPoint (group player)];</code>|EXAMPLE2=
|x1= <sqf>_visible = waypointVisible [groupOne, 1];</sqf>


____________________________________________________________________________________________
|x2= <sqf>_visible = waypointVisible [group player, currentWaypoint group player];</sqf>


| [[waypoints]], [[setWaypointVisible]] |SEEALSO=
|seealso= [[waypoints]] [[setWaypointVisible]]
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[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}}}}]]

Latest revision as of 12:16, 13 May 2022

Hover & click on the images for description

Description

Description:
A getter for setWaypointVisible command.
Returns 0 (Number) instead of Booleanfor an invalid waypoint.
Groups:
Waypoints

Syntax

Syntax:
waypointVisible waypoint
Parameters:
waypoint: Array - format Waypoint
Return Value:
Boolean

Examples

Example 1:
_visible = waypointVisible [groupOne, 1];
Example 2:
_visible = waypointVisible [group player, currentWaypoint group player];

Additional Information

See also:
waypoints setWaypointVisible

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