setUnitFreefallHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
|p1= unit: [[Object]] - unit
|p1= unit: [[Object]] - unit


|p2= minHeight: [[String]] - min freefall height, -1 to set default
|p2= minHeight: [[Number]] - min freefall height, -1 to set default


|r1= [[Nothing]]
|r1= [[Nothing]]

Revision as of 13:43, 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:
Sets minimum freefall height AGL per unit, at which the unit assumes HALO pose. Current engine default is 100m. Use -1 to reset the height to default.
Groups:
Object Manipulation

Syntax

Syntax:
unit setUnitFreefallHeight minHeight
Parameters:
unit: Object - unit
minHeight: Number - min freefall height, -1 to set default
Return Value:
Nothing

Examples

Example 1:
player setUnitFreefallHeight 1000;

Additional Information

See also:
getUnitFreefallInfo getPosASL ASLtoAGL

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