isAimPrecisionEnabled: Difference between revisions
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. |= | | Returns true if procedural aiming precision affects weapon sway. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''isAimPrecisionEnabled''' unit |= | | '''isAimPrecisionEnabled''' unit |SYNTAX= | ||
|p1= unit: [[Object]] - Unit which should be checked |= | |p1= unit: [[Object]] - Unit which should be checked |PARAMETER1= | ||
| [[Boolean]] - True if affected, false if not |= | | [[Boolean]] - True if affected, false if not |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code>_isAffected = '''isAimPrecisionEnabled''' [[player]];</code> |= | |x1 = <code>_isAffected = '''isAimPrecisionEnabled''' [[player]];</code> |EXAMPLE1= | ||
|[[getAnimAimPrecision]], [[Arma 3 Stamina]]|= | |[[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
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