getCustomAimCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (fixed example)
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
|descr= Returns aimPrecision from animation state with custom value that will directly affects weapon sway size and speed.
|descr= Returns aimPrecision from animation state with custom value that will directly affects weapon sway size and speed.


|s1= '''getCustomAimCoef''' unit
|s1= [[getCustomAimCoef]] unit


|p1= unit: [[Object]]
|p1= unit: [[Object]]
Line 16: Line 16:
|r1= [[Number]]
|r1= [[Number]]


|x1= _coef = '''getCustomAimCoef''' player
|x1= <sqf>_coef = getCustomAimCoef player;</sqf>


|seealso= [[Arma 3: Stamina]] [[setCustomAimCoef]]
|seealso= [[Arma 3: Stamina]] [[setCustomAimCoef]]
}}
}}

Latest revision as of 20:30, 26 February 2023

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