isAimPrecisionEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma 3 |= Game name | | arma 3 |= Game name | ||
|1.54 | |1.54 | ||
|gr1= Stamina System | |gr1= Stamina System | ||
| Returns true if procedural aiming precision affects weapon sway. | | Returns true if procedural aiming precision affects weapon sway. | ||
| '''isAimPrecisionEnabled''' unit | | '''isAimPrecisionEnabled''' unit | ||
|p1= unit: [[Object]] - Unit which should be checked | |p1= unit: [[Object]] - Unit which should be checked | ||
| [[Boolean]] - True if affected, false if not | | [[Boolean]] - True if affected, false if not | ||
|x1 = <code>_isAffected = '''isAimPrecisionEnabled''' [[player]];</code> | |x1 = <code>_isAffected = '''isAimPrecisionEnabled''' [[player]];</code> | ||
|[[getAnimAimPrecision]], [[Arma 3 Stamina]] | |[[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
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