Description
Screen dirt (texture) postprocess. Displays dust PP according to damage obtained from near explosion; takes array from "Explosion" event handler.
Syntax
[unit, damage] call BIS_fnc_dirtEffect
Parameters:
unit: Object - who gets the damage. Unused and useless parameterdamage: Number - damage given to unit by explosion
Returns: Nothing
Examples
Example 1
[nil, 0.5] call BIS_fnc_dirtEffect;