Difference between revisions of "VN ms fnc tracker receiveNoise"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (1 revision imported) |
Lou Montana (talk | contribs) (Page filling) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Wyqer, veteran29 |
− | |e= | + | |a= global |
+ | |||
+ | |e= global | ||
|g1= tracker | |g1= tracker | ||
− | |d= | + | |d= Handle client generated noise - slightly (0.01) reveals the shooter to surrounding units, friends or foes. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[ | + | |s= [unit, distance] call [[VN_ms_fnc_tracker_receiveNoise]] |
− | |p1n= | + | |p1n= unit |
− | |p1t= | + | |p1t= object |
− | |p1d= | + | |p1d= the unit that made a noise |
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= distance |
− | |p2t= | + | |p2t= number |
− | |p2d= | + | |p2d= hearable noise distance |
− | |p2v= | + | |p2v= 100 |
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= function's success |
− | |x1= <code> | + | |x1= <code>[player, 50] call [[VN_ms_fnc_tracker_receiveNoise]];</code> |
}} | }} |
Latest revision as of 16:15, 26 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Handle client generated noise - slightly (0.01) reveals the shooter to surrounding units, friends or foes.
Syntax
- Syntax
- [unit, distance] call VN_ms_fnc_tracker_receiveNoise
- Parameters
- unit: Object - the unit that made a noise
- distance: Number - (Optional, default
100
) hearable noise distance - Return value
- Boolean - function's success
Examples
- Example 1
[player, 50] call VN_ms_fnc_tracker_receiveNoise;