getWeaponSway: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 9: | Line 9: | ||
|gr2= Weapons | |gr2= Weapons | ||
| Returns current size of weapon sway of a given unit, in [[rad|radians]]. | |descr= Returns current size of weapon sway of a given unit, in [[rad|radians]]. | ||
|s1= [[getWeaponSway]] unit | |s1= [[getWeaponSway]] unit |
Revision as of 21:06, 13 June 2021
Description
- Description:
- Returns current size of weapon sway of a given unit, in radians.
- Groups:
- Stamina SystemWeapons
Syntax
- Syntax:
- getWeaponSway unit
- Parameters:
- unit: Object
- Return Value:
- Number: weapon sway
Examples
- Example 1:
_sway = getWeaponSway player;
Additional Information
- See also:
- weaponInertia
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