isTouchingGround: Difference between revisions
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (Semi colon >.<) |
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 June 1, 2014 - 01:23 (UTC)</dd> | |||
<dt class="note">'''[[User:AgentRevolution|AgentRevolution]]'''</dt> | |||
<dd class="note"> | |||
If you are using this command as a validation method, it should not be the sole thing you are checking for, as the result is often inaccurate. For example, it returns false for some helicopters when landed on the roof of certain buildings, and it always returns false for boats, even if they are beached. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 02:23, 1 June 2014
Description
- Description:
- Returns true if object is touching the ground.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
if (isTouchingGround player) then {hint "Terraferma!";};
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 June 1, 2014 - 01:23 (UTC)
- AgentRevolution
- If you are using this command as a validation method, it should not be the sole thing you are checking for, as the result is often inaccurate. For example, it returns false for some helicopters when landed on the roof of certain buildings, and it always returns false for boats, even if they are beached.