isTouchingGround: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added example)
m (Semi colon >.<)
Line 17: Line 17:




|x1= <code>if ([[isTouchingGround]] [[player]]) then {[[hint]] "Terraferma!"};
|x1= <code>if ([[isTouchingGround]] [[player]]) then {[[hint]] "Terraferma!";};
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  



Revision as of 05:50, 3 March 2014

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