isAbleToBreathe: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
| arma3
Line 14: Line 14:


| [[Boolean]]
| [[Boolean]]


|x1= <code>_canBreath = [[isAbleToBreathe]] [[player]];</code>
|x1= <code>_canBreath = [[isAbleToBreathe]] [[player]];</code>


 
|seealso= [[underwater]]
|[[underwater]]
 
|  |MPBEHAVIOUR=
}}
}}


<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|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
<dt></dt>
<dd class="notedate">Posted on May 6, 2019 - 19:43 (UTC)</dd>
<dd class="notedate">Posted on May 6, 2019 - 19:43 (UTC)</dd>
<dt class="note">[[User:vabene1111|vabene1111]]</dt>
<dt class="note">[[User:vabene1111|vabene1111]]</dt>
Line 44: Line 28:
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 01:49, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
Return Value:
Return value needed

Examples

Example 1:
_canBreath = isAbleToBreathe player;

Additional Information

See also:
underwater

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
Posted on May 6, 2019 - 19:43 (UTC)
vabene1111
Might return false if player enters a vehicle while underwater.