isAimPrecisionEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 16: Line 16:
|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 17:26, 20 January 2022

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:
getAnimAimPrecision Arma 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