getDiverState: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 16: | Line 16: | ||
|x1= <code>[[private]] _gogglesOn = [[getDiverState]] [[player]];</code> | |x1= <code>[[private]] _gogglesOn = [[getDiverState]] [[player]];</code> | ||
|seealso= [[goggles]] [[removeGoggles]] | |seealso= [[goggles]] [[removeGoggles]] [[addGoggles]] | ||
}} | }} |
Revision as of 15:56, 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 removeGoggles addGoggles
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