getUnitFreefallInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.10 |branch= dev |arg= local |gr1= Object Manipulation |descr= Returns unit's freefall info in array [isFalling, isInFreefallPo...")
 
No edit summary
Line 20: Line 20:


|r1= [[Array]] - see description
|r1= [[Array]] - see description
|x1= <code>[[getUnitFreefallInfo]] player;</code>
|x1= <code>[[getUnitFreefallInfo]] [[player]];</code>


|seealso= [[setUnitFreefallHeight]] [[getUserInfo]] [[getModelInfo]]
|seealso= [[setUnitFreefallHeight]] [[getUserInfo]] [[getModelInfo]]
}}
}}

Revision as of 12:35, 9 February 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