underwater: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 39: Line 39:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on September 21, 2014 - 20:49 (UTC)</dd>
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
<dd class="note">
This command name is MISLEADING. It returns true when player is in swimming position and false otherwise. Player can be standing fully underwater and this command would return false or swimming with head above water and this command would return true.<br><br>
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 22:49, 21 September 2014

Hover & click on the images for description

Description

Description:
Return whether object is fully underwater.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:

Additional Information

See also:
See also needed

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

Notes

Bottom Section

Posted on September 21, 2014 - 20:49 (UTC)
Killzone Kid
This command name is MISLEADING. It returns true when player is in swimming position and false otherwise. Player can be standing fully underwater and this command would return false or swimming with head above water and this command would return true.