enableAimPrecision: 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}}")
mNo edit summary
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________
|game1= arma3
|arma3 |Game name=
|version1= 1.62
|1.62|Game Version=
|arg=
|arg=  |Multiplayer Arguments=
|gr1= Stamina System
|eff=  |Multiplayer Effects=


|gr1= Stamina System |GROUP1=
|descr= Set whether animation's aim precision affects weapon sway.
____________________________________________________________________________________________
|s1= unit [[enableAimPrecision]] enable
| Set whether animation's aim precision affects weapon sway. |DESCRIPTION=
____________________________________________________________________________________________
| unit enableAimPrecision enable |SYNTAX=
|p1= unit: [[Object]] |PARAMETER1=
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled |PARAMETER2=
| [[Nothing]] |RETURNVALUE=
|x1= <code>[[player]] [[enableAimPrecision]] [[false]];</code> |EXAMPLE1=
| [[Arma 3 Stamina]] |SEEALSO=
}}


<dl class='command_description'>
|p1= unit: [[Object]]
<!-- BEGIN Note Section -->
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled
<!-- For example:
|r1= [[Nothing]]
<dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd>
<dt class='note'>'''[[User:User Name|User Name]]'''</dt>
<dd class='note'>This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { hint: Leave it here for others to read; };</code></dd>
-->
<!-- END Note Section -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
|x1= <sqf>player enableAimPrecision false;</sqf>
<!-- Appropriate categories go here -->
|seealso= [[Arma 3: Stamina]]
 
}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 05:50, 27 November 2023

Hover & click on the images for description

Description

Description:
Set whether animation's aim precision affects weapon sway.
Groups:
Stamina System

Syntax

Syntax:
unit enableAimPrecision enable
Parameters:
unit: Object
enable: Boolean - true enable, false, disabled
Return Value:
Nothing

Examples

Example 1:
player enableAimPrecision false;

Additional Information

See also:
Arma 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