getDiverState: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
Lou Montana (talk | contribs) |
||
Line 16: | Line 16: | ||
|x1= <code>[[private]] _gogglesOn = [[getDiverState]] [[player]];</code> | |x1= <code>[[private]] _gogglesOn = [[getDiverState]] [[player]];</code> | ||
|seealso= [[goggles]] | |seealso= [[goggles]] [[removeGoggles]], [[addGoggles]] | ||
}} | }} |
Revision as of 15:50, 20 January 2022
Description
- Description:
- Returns true when object is in diver state i.e. when unit would put diving goggles on.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- getDiverState unit
- Parameters:
- unit: Object
- Return Value:
- Boolean - true when diving goggles are visible
Examples
- Example 1:
private _gogglesOn = getDiverState player;
Additional Information
- See also:
- goggles removeGogglesaddGoggles
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