getAimingCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command
|arma3 |Game name=
|arma3
|1.62|Game Version=
|1.62
|arg=  |Multiplayer Arguments=
|arg=
|eff=  |Multiplayer Effects=
|eff=


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



Revision as of 00:37, 18 January 2021

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

Bottom Section