underwater: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
Killzone Kid (talk | contribs) (description) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Return whether object is fully underwater. |= Description | | Return whether object is fully underwater. Works as intended only on objects, not units. For units it returns "isSwimming" not "underwater" |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''underwater''' | | '''underwater''' object |= Syntax | ||
|p1= | |p1= object: [[Object]] |= PARAMETER1 | ||
| [[Boolean]] |= RETURNVALUE | | [[Boolean]] |= RETURNVALUE |
Revision as of 01:46, 26 November 2015
Description
- Description:
- Return whether object is fully underwater. Works as intended only on objects, not units. For units it returns "isSwimming" not "underwater"
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_isSwimming = underwater player;
Additional Information
- See also:
- isTouchingGroundisAbleToBreathe
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.