Arma 3 Scripting

getUnitFreefallInfo

  • Local argument
  • Arma 3 v2.10

Command · Markdown · JSON · 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.