setCustomAimCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
|arma3|Game name=
|1.54|Game version=


|eff= local |Effects in MP=
|game1= arma3
|arg= local |Effects in MP=
|version1= 1.54


|gr1= Stamina System |GROUP1=
|eff= local
|arg= local


| Set custom aim precision coefficient for weapon sway |DESCRIPTION=
|gr1= Stamina System
| unit '''setCustomAimCoef''' coef |SYNTAX=
 
|p1= unit: [[Object]] |PARAMETER1=
|descr= Set custom aim precision coefficient for weapon sway
|p2= coef: [[Number]] |PARAMETER2=
 
| [[Nothing]]  |RETURNVALUE=
|s1= unit [[setCustomAimCoef]] coef
|x1= <code>player '''setCustomAimCoef''' 1;
 
</code>|EXAMPLE1=  
|p1= unit: [[Object]]
| [[Arma 3 Stamina]] [[getCustomAimCoef]] |SEEALSO=
 
|  |MPBEHAVIOUR=
|p2= coef: [[Number]]
}}
 
|r1= [[Nothing]]


<h3 style='display:none'>Bottom Section</h3>
|x1= <sqf>player setCustomAimCoef 3;</sqf>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<h3 style='display:none'>Notes</h3>
|seealso= [[Arma 3: Stamina]] [[getCustomAimCoef]] [[getWeaponSway]]
<dl class="command_description">
}}
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>

Latest revision as of 10:24, 13 May 2022

Hover & click on the images for description

Description

Description:
Set custom aim precision coefficient for weapon sway
Groups:
Stamina System

Syntax

Syntax:
unit setCustomAimCoef coef
Parameters:
unit: Object
coef: Number
Return Value:
Nothing

Examples

Example 1:
player setCustomAimCoef 3;

Additional Information

See also:
Arma 3: Stamina getCustomAimCoef getWeaponSway

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