getAimingCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
mNo edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
|arma3 |Game name=
|game1= arma3
|1.62|Game Version=
|version1= 1.62
|arg=  |Multiplayer Arguments=
|arg=
|eff=  |Multiplayer Effects=
|gr1= Stamina System


|gr1= Stamina System |GROUP1=
|descr= Get current aiming coefficient (higher ~ less precise, default is 1)
| Get current aiming coefficient (higher ~ less precise, default is 1) |DESCRIPTION=
|s1= [[getAimingCoef]] unit
| [[getAimingCoef]] unit |SYNTAX=
|p1= unit: [[Object]] |PARAMETER1=
|p2=  |PARAMETER2=
| [[Number]] |RETURNVALUE=
|x1= _coef = [[getAimingCoef]] [[player]] |EXAMPLE1=
| [[getCustomAimingCoef]] |SEEALSO=
}}


<dl class='command_description'>
|p1= unit: [[Object]]
<!-- BEGIN Note Section -->
|r1= [[Number]]
<!-- 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>
|x1= _coef = [[getAimingCoef]] [[player]]
<!-- Appropriate categories go here -->
|seealso= [[getCustomAimingCoef]]
 
}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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