getWeaponSway: Difference between revisions

From Bohemia Interactive Community
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 |= Description
| Returns current size of weapon sway of a given unit, in radians |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[getWeaponSway]] unit |= Syntax
| [[getWeaponSway]] unit |SYNTAX=
|p1= unit: [[Object]] |= Parameter 1
|p1= unit: [[Object]] |PARAMETER1=
|p2=  |= Parameter 2
|p2=  |PARAMETER2=
|p3=  |= Parameter 3
|p3=  |PARAMETER3=
|p3=  |= Parameter 4
|p3=  |PARAMETER4=
|p3=  |= Parameter 5
|p3=  |PARAMETER5=
|p3=  |= Parameter 6
|p3=  |PARAMETER6=
| [[Number]]: weapon sway |= Return Value
| [[Number]]: weapon sway |RETURNVALUE=
|x1= _sway = [[getWeaponSway]] [[player]]; |= Example 1
|x1= _sway = [[getWeaponSway]] [[player]]; |EXAMPLE1=
| - |= See Also
| - |SEEALSO=
}}
}}



Revision as of 15:40, 7 April 2019

Hover & click on the images for description

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

Bottom Section