getWeaponSway: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|arma3 |= Game " to "|arma3 |Game name= ")
m (Text replacement - " |p3= |PARAMETER3= |p3= |PARAMETER4= |p3= |PARAMETER5= |p3= |PARAMETER6=" to "")
Line 11: Line 11:
|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]] |PARAMETER1=
|p2=  |PARAMETER2=
|p2=  |PARAMETER2=
|p3=  |PARAMETER3=
|p3=  |PARAMETER4=
|p3=  |PARAMETER5=
|p3=  |PARAMETER6=
| [[Number]]: weapon sway |RETURNVALUE=
| [[Number]]: weapon sway |RETURNVALUE=
|x1= _sway = [[getWeaponSway]] [[player]]; |EXAMPLE1=
|x1= _sway = [[getWeaponSway]] [[player]]; |EXAMPLE1=

Revision as of 13:06, 3 September 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