waypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2oa |Game name=
| arma2oa |Game name=
Line 7: Line 6:


|gr1= Waypoints |GROUP1=
|gr1= Waypoints |GROUP1=
____________________________________________________________________________________________


| A getter for [[setWaypointVisible]] command.
| A getter for [[setWaypointVisible]] command.


{{Warning | Returns '''0''' ([[Number]]) instead of [[Boolean]]ean for an invalid waypoint}}|DESCRIPTION=
{{Warning | Returns '''0''' ([[Number]]) instead of [[Boolean]]ean for an invalid waypoint}}|DESCRIPTION=
____________________________________________________________________________________________


| '''waypointVisible''' waypoint |SYNTAX=
| '''waypointVisible''' waypoint |SYNTAX=
Line 25: Line 22:
|x2= <code>_visible <nowiki>=</nowiki> [[waypointVisible]] <nowiki>[</nowiki>[[group]] [[player]], [[currentWaypoint]] [[group]] [[player]]];</code>|EXAMPLE2=  
|x2= <code>_visible <nowiki>=</nowiki> [[waypointVisible]] <nowiki>[</nowiki>[[group]] [[player]], [[currentWaypoint]] [[group]] [[player]]];</code>|EXAMPLE2=  


____________________________________________________________________________________________


|  [[waypoints]], [[setWaypointVisible]] |SEEALSO=  
|  [[waypoints]], [[setWaypointVisible]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 04:17, 17 January 2021

Hover & click on the images for description

Description

Description:
A getter for setWaypointVisible command.
Returns 0 (Number) instead of Booleanean for 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:
waypointssetWaypointVisible

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

Notes

Bottom Section