getWeaponSway: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ |arma3 |= Game |1.62|= Game Version |arg= |= Multiplayer Arguments |e...") |
m (template:command argument fix) |
||
Line 6: | Line 6: | ||
|eff= |= Multiplayer Effects | |eff= |= Multiplayer Effects | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns current size of weapon sway of a given unit, in radians |= | | Returns current size of weapon sway of a given unit, in radians |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getWeaponSway]] unit |= | | [[getWeaponSway]] unit |SYNTAX= | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
|p3= |= | |p3= |PARAMETER4= | ||
|p3= |= | |p3= |PARAMETER5= | ||
|p3= |= | |p3= |PARAMETER6= | ||
| [[Number]]: weapon sway |= | | [[Number]]: weapon sway |RETURNVALUE= | ||
|x1= _sway = [[getWeaponSway]] [[player]]; |= | |x1= _sway = [[getWeaponSway]] [[player]]; |EXAMPLE1= | ||
| - |= | | - |SEEALSO= | ||
}} | }} | ||
Revision as of 14:40, 7 April 2019
Description
- Description:
- Returns current size of weapon sway of a given unit, in radians
- Groups:
- Uncategorised
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