enableAimPrecision: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |p3= |PARAMETER3= |p3= |PARAMETER4= |p3= |PARAMETER5= |p3= |PARAMETER6=" to "")
mNo edit summary
 
(25 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=
____________________________________________________________________________________________
| Set whether animation's aim precision affects weapon sway. |DESCRIPTION=
____________________________________________________________________________________________
| unit enableAimPrecision enable |SYNTAX=
|p1= unit: [[Object]] |PARAMETER1=
|p2= enable: [[Bool]] - [[true]] enable, [[false]], disabled |PARAMETER2=
| [[Nothing]] |RETURNVALUE=
|x1= <code>[[player]] [[enableAimPrecision]] [[false]];</code> |EXAMPLE1=
| [[Arma 3 Stamina]] |SEEALSO=
}}


<dl class='command_description'>
|descr= Set whether animation's aim precision affects weapon sway.
<!-- BEGIN Note Section -->
|s1= unit [[enableAimPrecision]] enable
<!-- For example:
<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>
|p1= unit: [[Object]]
<!-- Appropriate categories go here -->
|p2= enable: [[Boolean]] - [[true]] enable, [[false]], disabled
|r1= [[Nothing]]


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|x1= <sqf>player enableAimPrecision false;</sqf>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
|seealso= [[Arma 3: Stamina]]
}}

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