isAimPrecisionEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma 3 |= Game name
| arma 3 |= Game name


|1.54|Game version=
|1.54


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


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


| '''isAimPrecisionEnabled''' unit |SYNTAX=
| '''isAimPrecisionEnabled''' unit


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


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


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


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


{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 01:39, 18 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