waypointVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Some wiki formatting)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma2oa
|game1= arma2oa
|version1= 1.55


|1.55
|game2= tkoh
|version2= 1.00
 
|game3= arma3
|version3= 0.50


|gr1= Waypoints
|gr1= Waypoints


| A getter for [[setWaypointVisible]] command.
|descr= A getter for [[setWaypointVisible]] command.
 
{{Warning | Returns '''0''' ([[Number]]) instead of [[Boolean]]ean for an invalid waypoint}}
 
| '''waypointVisible''' waypoint
 
|p1 = waypoint: [[Array]] - format [[Waypoint]]


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


|s1= [[waypointVisible]] waypoint


|x1= <code>_visible <nowiki>=</nowiki> [[waypointVisible]] [groupOne, 1];</code>
|p1= waypoint: [[Array]] - format [[Waypoint]]


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


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


| [[waypoints]], [[setWaypointVisible]]
|x2= <sqf>_visible = waypointVisible [group player, currentWaypoint group player];</sqf>


|
|seealso= [[waypoints]] [[setWaypointVisible]]
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{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