waypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2oa |Game name=
| arma2oa


|1.55|Game version=
|1.55


|gr1= Waypoints |GROUP1=
|gr1= Waypoints


| 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}}


| '''waypointVisible''' waypoint |SYNTAX=
| '''waypointVisible''' waypoint


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


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]




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


|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>




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


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 12:43, 18 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