waypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 24: Line 24:
|x1= <code>_visible <nowiki>=</nowiki> waypointVisible [groupOne, 1];</code>
|x1= <code>_visible <nowiki>=</nowiki> waypointVisible [groupOne, 1];</code>


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


|seealso= [[waypoints]] [[setWaypointVisible]]
|seealso= [[waypoints]] [[setWaypointVisible]]
}}
}}

Revision as of 11:19, 12 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