isAimPrecisionEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma 3 |= Game name
| arma 3 |= Game name
Line 7: Line 6:


|gr1= Stamina System |GROUP1=
|gr1= Stamina System |GROUP1=
____________________________________________________________________________________________


| Returns true if procedural aiming precision affects weapon sway. |DESCRIPTION=
| Returns true if procedural aiming precision affects weapon sway. |DESCRIPTION=
____________________________________________________________________________________________


| '''isAimPrecisionEnabled''' unit |SYNTAX=
| '''isAimPrecisionEnabled''' unit |SYNTAX=
Line 17: Line 14:


| [[Boolean]] - True if affected, false if not |RETURNVALUE=
| [[Boolean]] - True if affected, false if not |RETURNVALUE=
____________________________________________________________________________________________


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

Revision as of 02:36, 17 January 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