getCustomAimCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game=
| arma3 |Game=
Line 13: Line 12:


|gr1= Stamina System |GROUP1=
|gr1= Stamina System |GROUP1=
____________________________________________________________________________________________


| Returns aimPrecision from animation state with custom value that will directly affects weapon sway size and speed. |DESCRIPTION=
| Returns aimPrecision from animation state with custom value that will directly affects weapon sway size and speed. |DESCRIPTION=
____________________________________________________________________________________________


| '''getCustomAimCoef''' unit |SYNTAX=
| '''getCustomAimCoef''' unit |SYNTAX=
Line 23: Line 20:


| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= _coef = '''getCustomAimCoef''' player |EXAMPLE1=
|x1= _coef = '''getCustomAimCoef''' player |EXAMPLE1=
____________________________________________________________________________________________


| [[Arma 3 Stamina]] [[setCustomAimCoef]] |SEEALSO=
| [[Arma 3 Stamina]] [[setCustomAimCoef]] |SEEALSO=

Revision as of 01:20, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns aimPrecision from animation state with custom value that will directly affects weapon sway size and speed.
Groups:
Stamina System

Syntax

Syntax:
getCustomAimCoef unit
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
_coef = getCustomAimCoef player

Additional Information

See also:
Arma 3 Stamina setCustomAimCoef

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