weaponInertia: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add seealso link)
mNo edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.48


|1.48|Game Version=
|gr1= Weapons


|gr1= Weapons |GROUP1=
|descr= Returns current rate of how much the weapon view is distorted because of quick aiming.
____________________________________________________________________________________________


| Returns current rate of how much the weapon view is distorted because of quick aiming |DESCRIPTION=
|s1= [[weaponInertia]] unit
____________________________________________________________________________________________


| [[weaponInertia]] unit |SYNTAX=
|p1= unit: [[Object]]


|p1= unit: [[Object]] |PARAMETER1=
|r1= [[Array]] of [[Number]]s in format [x_sway, y_sway]


|p2= |PARAMETER2=
|x1= <sqf>_inertia = weaponInertia player; //[-0.0126307,0.038023]</sqf>


| [[Array]] |RETURNVALUE=
|seealso= [[getWeaponSway]]
 
|x1= _inertia = [[weaponInertia]] [[player]]; |EXAMPLE1=
 
| [[getWeaponSway]] |SEEALSO=
}}
}}
<h3 style='display:none'>Bottom Section</h3>

Latest revision as of 11:41, 28 September 2023

Hover & click on the images for description

Description

Description:
Returns current rate of how much the weapon view is distorted because of quick aiming.
Groups:
Weapons

Syntax

Syntax:
weaponInertia unit
Parameters:
unit: Object
Return Value:
Array of Numbers in format [x_sway, y_sway]

Examples

Example 1:
_inertia = weaponInertia player; //[-0.0126307,0.038023]

Additional Information

See also:
getWeaponSway

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