enableAimPrecision: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
(21 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= <code>[[player]] [[enableAimPrecision]] [[false]];</code>
<!-- Appropriate categories go here -->
|seealso= [[Arma 3: Stamina]]
 
}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 23:04, 19 June 2021

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