isTouchingGround

From Bohemia Interactive Community
Revision as of 03:23, 1 June 2014 by AgentRev (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns true if object is touching the ground.
Groups:
Uncategorised

Syntax

Syntax:
isTouchingGround object
Parameters:
object: Object
Return Value:
Boolean

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.