VN_ms_fnc_tracker_receiveNoise
← 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;