getCustomAimCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_this" to "_this")
m (fixed example)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.54
|1.54


|arg= global
|arg= global
|eff=
|serverExec=


|gr1= Stamina System
|gr1= Stamina System


| 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.


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


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


| [[Number]]
|r1= [[Number]]


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


|seealso= [[Arma 3 Stamina]] [[setCustomAimCoef]]
|seealso= [[Arma 3: Stamina]] [[setCustomAimCoef]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|User Name]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[Magic Variables#this|_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>

Latest revision as of 19: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