setUnitFreefallHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "\|branch= *dev " to "")
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|version1= 2.10
|version1= 2.10


|branch= dev


|arg= local
|arg= local
Line 24: Line 23:
|x1= <sqf>player setUnitFreefallHeight 1000;</sqf>
|x1= <sqf>player setUnitFreefallHeight 1000;</sqf>


|seealso= [[getUnitFreefallInfo]] [[getPosASL]] [[ASLtoAGL]]
|seealso= [[getUnitFreefallInfo]] [[getPosASL]] [[ASLToAGL]]
}}
}}

Latest revision as of 14:24, 23 August 2022

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