getCustomAimCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Multiplayer Arguments= ("local" or "global")" to "|Multiplayer Arguments("local" or "global")=")
m (fixed example)
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


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


|1.54|Game Version (number surrounded by NO SPACES)=
|arg= global


|arg= global  |Multiplayer Arguments("local" or "global")=
|gr1= Stamina System


|eff= |Multiplayer Effects= ("local" or "global")
|descr= Returns aimPrecision from animation state with custom value that will directly affects weapon sway size and speed.


|serverExec= |= Multiplayer Execution ("server" or empty)
|s1= [[getCustomAimCoef]] unit


|gr1= Stamina System |GROUP1=
|p1= unit: [[Object]]
____________________________________________________________________________________________


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


| '''getCustomAimCoef''' unit |SYNTAX=
|x1= <sqf>_coef = getCustomAimCoef player;</sqf>
 
|p1= unit: [[Object]]  |PARAMETER1=
 
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= _coef = '''getCustomAimCoef''' player |EXAMPLE1=
____________________________________________________________________________________________
 
| [[Arma 3 Stamina]] [[setCustomAimCoef]] |SEEALSO=


|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]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
<!-- Appropriate categories go here -->
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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