getUnitFreefallInfo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.10 | |version1= 2.10 | ||
|branch= dev | |branch= dev | ||
Line 9: | Line 10: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Returns unit's freefall | |descr= Returns a unit's freefall information. | ||
|s1= [[getUnitFreefallInfo]] unit | |s1= [[getUnitFreefallInfo]] unit | ||
Line 18: | Line 16: | ||
|p1= unit: [[Object]] - unit | |p1= unit: [[Object]] - unit | ||
|r1= [[Array]] format [isFalling, isInFreefallPose, minFreefallHeight], where | |||
* isFalling: [[Boolean]] - [[true]] if unit is falling | |||
* isInFreefallPose: [[Boolean]] - [[true]] if unit is in freefall pose | |||
* minFreefallHeight: [[Number]] - current minimum freefall height (see [[setUnitFreefallHeight]]) | |||
|x1= <sqf>getUnitFreefallInfo player;</sqf> | |||
|x1= < | |||
|seealso= [[setUnitFreefallHeight]] [[getUserInfo]] [[getModelInfo]] | |seealso= [[setUnitFreefallHeight]] [[getUserInfo]] [[getModelInfo]] | ||
}} | }} |
Revision as of 15:12, 22 April 2022
Description
- Description:
- Returns a unit's freefall information.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- getUnitFreefallInfo unit
- Parameters:
- unit: Object - unit
- Return Value:
- Array format [isFalling, isInFreefallPose, minFreefallHeight], where
Examples
- Example 1:
- getUnitFreefallInfo player;
Additional Information
- See also:
- setUnitFreefallHeight getUserInfo getModelInfo
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