weaponInertia: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.48|Game Version=
|1.48


|gr1= Weapons |GROUP1=
|gr1= Weapons


| Returns current rate of how much the weapon view is distorted because of quick aiming |DESCRIPTION=
| Returns current rate of how much the weapon view is distorted because of quick aiming


| [[weaponInertia]] unit |SYNTAX=
| [[weaponInertia]] unit


|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]]


|p2=  |PARAMETER2=
|p2=


| [[Array]] |RETURNVALUE=
| [[Array]]


|x1= _inertia = [[weaponInertia]] [[player]]; |EXAMPLE1=
|x1= _inertia = [[weaponInertia]] [[player]];


| [[getWeaponSway]] |SEEALSO=
| [[getWeaponSway]]
}}
}}


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>

Revision as of 11:43, 18 January 2021

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

Examples

Example 1:
_inertia = weaponInertia player;

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

Bottom Section