getDiverState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<br><br> {{Feature" to "{{Feature")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 13: Line 13:
|p1= unit: [[Object]]
|p1= unit: [[Object]]


| [[Boolean]] - [[true]] when diving [[goggles]] are visible
|r1=[[Boolean]] - [[true]] when diving [[goggles]] are visible


|x1= <code>[[private]] _gogglesOn = [[getDiverState]] [[player]];</code>
|x1= <code>[[private]] _gogglesOn = [[getDiverState]] [[player]];</code>

Revision as of 21:47, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
Return Value:
Boolean - true when diving goggles are visible

Examples

Example 1:
private _gogglesOn = getDiverState player;

Additional Information

See also:
gogglesremoveGogglesaddGoggles

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