Arma 3 Scripting

Command in Object Manipulation

getUnitFreefallInfo

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns a unit's freefall information.

Syntax

getUnitFreefallInfo unit

Parameters:

Returns: Array with [isFalling, isInFreefallPose, minFreefallHeight]

Examples

Example 1

getUnitFreefallInfo player;

See also

setUnitFreefallHeight · getUserInfo · getModelInfo

Community notes

Sa-Matra

Note that command is supposed to be used on local units. When used on a remote unit, its return (isFalling) is unreliable and sometimes returns wrong values.