isAimPrecisionEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (setAnimAimPrecision doesn't exist)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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=


|p1= unit: [[Object]] - Unit which should be checked |= Parameter 1
|p1= unit: [[Object]] - Unit which should be checked |PARAMETER1=


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


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


|[[getAnimAimPrecision]], [[Arma 3 Stamina]]|= See also
|[[getAnimAimPrecision]], [[Arma 3 Stamina]]|SEEALSO=
}}
}}


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 15:41, 7 April 2019

Hover & click on the images for description

Description

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

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