VN_ms_fnc_tracker_receiveNoise

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): global
Effect(s): global

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;