getAimingCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
mNo edit summary
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________
|game1= arma3
|arma3 |= Game
|version1= 1.62
|1.62|= Game Version
|arg=
|arg= |= Multiplayer Arguments
|gr1= Stamina System
|eff=  |= Multiplayer Effects
____________________________________________________________________________________________
| Get current aiming coefficient (higher ~ less precise, default is 1) |= Description
____________________________________________________________________________________________
| [[getAimingCoef]] unit |= Syntax
|p1= unit: [[Object]] |= Parameter 1
|p2=  |= Parameter 2
|p3=  |= Parameter 3
|p3=  |= Parameter 4
|p3=  |= Parameter 5
|p3=  |= Parameter 6
| [[Number]] |= Return Value
|x1= _coef = [[getAimingCoef]] [[player]] |= Example 1
| [[getCustomAimingCoef]] |= See Also
}}


<dl class='command_description'>
|descr= Get current aiming coefficient (higher ~ less precise, default is 1)
<!-- BEGIN Note Section -->
|s1= [[getAimingCoef]] unit
<!-- 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>
|p1= unit: [[Object]]
<!-- Appropriate categories go here -->
|r1= [[Number]]


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|x1= _coef = [[getAimingCoef]] [[player]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
|seealso= [[getCustomAimingCoef]]
}}

Latest revision as of 04:47, 27 November 2023

Hover & click on the images for description

Description

Description:
Get current aiming coefficient (higher ~ less precise, default is 1)
Groups:
Stamina System

Syntax

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

Examples

Example 1:
_coef = getAimingCoef player

Additional Information

See also:
getCustomAimingCoef

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