getUnitFreefallInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "Bool" to "Boolean")
Line 10: Line 10:


|descr= Returns unit's freefall info in array [isFalling, isInFreefallPose, minFreefallHeight], where
|descr= Returns unit's freefall info in array [isFalling, isInFreefallPose, minFreefallHeight], where
* isFalling [[Bool]] - [[true]] if unit is falling
* isFalling [[Boolean]] - [[true]] if unit is falling
* isInFreefallPose [[Bool]] - [[true]] if unit is in freefall pose
* isInFreefallPose [[Boolean]] - [[true]] if unit is in freefall pose
* minFreefallHeight [[Number]] - current minimum freefall height (see [[setUnitFreefallHeight]])
* minFreefallHeight [[Number]] - current minimum freefall height (see [[setUnitFreefallHeight]])



Revision as of 15:10, 22 April 2022

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.10.

Description

Description:
Returns unit's freefall info in array [isFalling, isInFreefallPose, minFreefallHeight], where
Groups:
Object Manipulation

Syntax

Syntax:
getUnitFreefallInfo unit
Parameters:
unit: Object - unit
Return Value:
Array - see description

Examples

Example 1:
getUnitFreefallInfo player;

Additional Information

See also:
setUnitFreefallHeight getUserInfo getModelInfo

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