waypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (waypoint cat added)
m (template:command argument fix)
Line 16: Line 16:
|p1 = waypoint: [[Array]] - format [[Waypoint]] |= Parameter 1
|p1 = waypoint: [[Array]] - format [[Waypoint]] |= Parameter 1


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




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


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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


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

Revision as of 10:38, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns the visibility of the waypoint. Returns 0 (Number) for a non valid waypoint.
Groups:
Uncategorised

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