getUnitFreefallInfo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|branch= *dev " to "") |
Lou Montana (talk | contribs) m (Text replacement - "Samatra" to "Sa-Matra") |
||
(One intermediate revision by one other user not shown) | |||
Line 23: | Line 23: | ||
|seealso= [[setUnitFreefallHeight]] [[getUserInfo]] [[getModelInfo]] | |seealso= [[setUnitFreefallHeight]] [[getUserInfo]] [[getModelInfo]] | ||
}} | |||
{{Note | |||
|user= Sa-Matra | |||
|timestamp= 20230508042625 | |||
|text= Note that command is supposed to be used on local units. When used on a remote unit, its return (isFalling) is unreliable and sometimes returns wrong values. | |||
}} | }} |
Latest revision as of 20:58, 4 July 2024
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
- Posted on May 08, 2023 - 04:26 (UTC)
- Note that command is supposed to be used on local units. When used on a remote unit, its return (isFalling) is unreliable and sometimes returns wrong values.