waypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(30 intermediate revisions by 2 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


|gr1= Waypoints |=GROUP1
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| A getter for [[setWaypointVisible]] command.
|gr1= Waypoints


{{Warning | Returns '''0''' ([[Number]]) instead of [[Boolean]]ean for an invalid waypoint}}|DESCRIPTION=
|descr= A getter for [[setWaypointVisible]] command.
____________________________________________________________________________________________


| '''waypointVisible''' waypoint |SYNTAX=
{{Feature|warning|Returns '''0''' ([[Number]]) instead of [[Boolean]]for an invalid waypoint.}}


|p1 = waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1=
|s1= [[waypointVisible]] waypoint


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


|r1= [[Boolean]]


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


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


____________________________________________________________________________________________
|seealso= [[waypoints]] [[setWaypointVisible]]
 
| [[waypoints]], [[setWaypointVisible]] |SEEALSO=
 
|  |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 Arma 2|{{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 11: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