setUnitFreefallHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.10
|version1= 2.10
|branch= dev
|branch= dev


Line 11: Line 12:
|gr1= Object Manipulation
|gr1= Object Manipulation


|descr= 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.
|descr= 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.


|s1= unit [[setUnitFreefallHeight]] minHeight
|s1= unit [[setUnitFreefallHeight]] minHeight
Line 20: Line 21:


|r1= [[Nothing]]
|r1= [[Nothing]]
|x1= <code>[[player]] [[setUnitFreefallHeight]] 1000;</code>
 
|x1= <sqf>player setUnitFreefallHeight 1000;</sqf>


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

Revision as of 12:11, 3 May 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. 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