isAbleToBreathe

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
If unit is diving and doesn't have a re-breather, it returns false. Diving means the unit's head is underwater. If unit is underwater and has a re-breather, the command returns true.

Syntax

Syntax:
isAbleToBreathe unit
Parameters:
unit: Object
Return Value:
Boolean

Examples

Example 1:
Example needed

Additional Information

Multiplayer:
-
See also:
underwater

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section