Difference between revisions of "VN ms fnc params aimCoef"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
Lou Montana (talk | contribs) (Page filling) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |e= | + | |a= |
+ | |||
+ | |e= local | ||
|g1= params | |g1= params | ||
− | |d= | + | |d= Sets player's VN aimCoef parameter (0.1 {{Biki|setCustomAimCoef|aiming coefficient}}). Is reapplied on player's respawn. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[ | + | |s= [parameter] call [[VN_ms_fnc_params_aimCoef]] |
− | |p1n= | + | |p1n= parameter |
− | |p1t= | + | |p1t= number |
− | |p1d= | + | |p1d= acts as a boolean; 1 = {{Biki|setCustomAimCoef}} 0.1, any other value = 0 = no change. |
− | |p1v= | + | |p1v= 0 |
|p2n= | |p2n= | ||
Line 38: | Line 25: | ||
|p2v= | |p2v= | ||
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= function's success |
− | |x1= <code> | + | |x1= <code>[1] call [[VN_ms_fnc_params_aimCoef]];</code> |
}} | }} |
Latest revision as of 21:27, 25 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Sets player's VN aimCoef parameter (0.1 aiming coefficient). Is reapplied on player's respawn.
Syntax
- Syntax
- [parameter] call VN_ms_fnc_params_aimCoef
- Parameters
- parameter: Number - (Optional, default
0
) acts as a boolean; 1 = setCustomAimCoef 0.1, any other value = 0 = no change. - Return value
- Boolean - function's success
Examples
- Example 1
[1] call VN_ms_fnc_params_aimCoef;