underwater: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) (see also. example) |
||
Line 17: | Line 17: | ||
|x1= <code> | |x1= <code>_isSwimming = [[underwater]] [[player]]; | ||
</code>|= EXAMPLE1 | </code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[isTouchingGround]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 21:51, 21 September 2014
Description
- Description:
- Return whether object is fully underwater.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_isSwimming = underwater player;
Additional Information
- See also:
- isTouchingGround
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.