setUnitFreefallHeight

From Bohemia Interactive Community
Revision as of 01:35, 8 June 2024 by Hypoxic125 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sets minimum freefall height AGL per unit, at which the unit assumes HALO pose. 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
Hypoxic125 - c
Posted on Jun 07, 2024 - 23:35 (UTC)
For player units, you must reapply setUnitFreefallHeight upon respawning.