getWeaponSway: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |p3= |PARAMETER3= |p3= |PARAMETER4= |p3= |PARAMETER5= |p3= |PARAMETER6=" to "")
mNo edit summary
Line 5: Line 5:
|arg=  |Multiplayer Arguments=
|arg=  |Multiplayer Arguments=
|eff=  |Multiplayer Effects=
|eff=  |Multiplayer Effects=
|gr1= Stamina System |GROUP1=
|gr2= Weapons |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________
| Returns current size of weapon sway of a given unit, in radians |DESCRIPTION=
| Returns current size of weapon sway of a given unit, in radians |DESCRIPTION=
Line 12: Line 16:
|p2=  |PARAMETER2=
|p2=  |PARAMETER2=
| [[Number]]: weapon sway |RETURNVALUE=
| [[Number]]: weapon sway |RETURNVALUE=
|x1= _sway = [[getWeaponSway]] [[player]]; |EXAMPLE1=
|x1= <code>_sway = [[getWeaponSway]] [[player]];</code> |EXAMPLE1=
| - |SEEALSO=
| - |SEEALSO=
}}
}}

Revision as of 14:35, 21 September 2020

Hover & click on the images for description

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:
-

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

Bottom Section