isAimPrecisionEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma 3
|game1= arma3
 
|version1= 1.54
|1.54


|gr1= Stamina System
|gr1= Stamina System
Line 9: Line 8:
|descr= Returns true if procedural aiming precision affects weapon sway.
|descr= Returns true if procedural aiming precision affects weapon sway.


|s1= '''isAimPrecisionEnabled''' unit
|s1= [[isAimPrecisionEnabled]] unit


|p1= unit: [[Object]] - Unit which should be checked
|p1= unit: [[Object]] - Unit which should be checked
Line 15: Line 14:
|r1= [[Boolean]] - True if affected, false if not
|r1= [[Boolean]] - True if affected, false if not


|x1= <code>_isAffected = '''isAimPrecisionEnabled''' [[player]];</code>
|x1= <code>_isAffected = [[isAimPrecisionEnabled]] [[player]];</code>


|seealso= [[getAnimAimPrecision]], [[Arma 3: Stamina]]
|seealso= [[getAnimAimPrecision]], [[Arma 3: Stamina]]
}}
}}

Revision as of 10:36, 14 June 2021

Hover & click on the images for description

Description

Description:
Returns true if procedural aiming precision affects weapon sway.
Groups:
Stamina System

Syntax

Syntax:
isAimPrecisionEnabled unit
Parameters:
unit: Object - Unit which should be checked
Return Value:
Boolean - True if affected, false if not

Examples

Example 1:
_isAffected = isAimPrecisionEnabled player;

Additional Information

See also:
getAnimAimPrecisionArma 3: Stamina

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