getAimingCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- For example: <dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd> <dt class='note'>'''User Name'''</dt> <dd class='note'>This is an example note. It is true and...)
mNo edit summary
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command
|arma3
|game1= arma3
|1.62
|version1= 1.62
|arg=
|arg=
|gr1= Stamina System
|gr1= Stamina System
| Get current aiming coefficient (higher ~ less precise, default is 1)
 
| [[getAimingCoef]] unit
|descr= Get current aiming coefficient (higher ~ less precise, default is 1)
|s1= [[getAimingCoef]] unit
 
|p1= unit: [[Object]]
|p1= unit: [[Object]]
|p2=
|r1= [[Number]]
| [[Number]]
 
|x1= _coef = [[getAimingCoef]] [[player]]
|x1= _coef = [[getAimingCoef]] [[player]]
|seealso= [[getCustomAimingCoef]]
|seealso= [[getCustomAimingCoef]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}

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