setUnitFreefallHeight: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Hypoxic125 (talk | contribs) No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.10 | |version1= 2.10 | ||
|arg= local | |arg= local | ||
Line 11: | Line 11: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Sets minimum freefall height AGL per unit, at which the unit assumes HALO pose. | |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 17: | Line 17: | ||
|p1= unit: [[Object]] - unit | |p1= unit: [[Object]] - unit | ||
|p2= minHeight: [[ | |p2= minHeight: [[Number]] - min freefall height, -1 to set default | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|seealso= [[getUnitFreefallInfo]] [[getPosASL]] [[ | |x1= <sqf>player setUnitFreefallHeight 1000;</sqf> | ||
|seealso= [[getUnitFreefallInfo]] [[getPosASL]] [[ASLToAGL]] | |||
}} | |||
{{Note | |||
|user= Hypoxic125 | |||
|timestamp= 20240607233513 | |||
|text= For player units, you must reapply setUnitFreefallHeight upon respawning. | |||
}} | }} |
Latest revision as of 00:35, 8 June 2024
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:
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
- Posted on Jun 07, 2024 - 23:35 (UTC)
- For player units, you must reapply setUnitFreefallHeight upon respawning.