Created
August 28, 2019 13:55
-
-
Save commy2/c976dbf1dde3c43dee7709f79aecf9e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// init.sqf | |
#define WET_EFFECT_INTESITY 1 | |
["unit", { | |
params ["_unit"]; | |
if (isNil "mission_wetFX") then { | |
mission_wetFX = "#particlesource" createVehicleLocal [0,0,0]; | |
mission_wetFX setParticleClass "ACERainEffect"; | |
mission_wetFX setDropInterval (0.07 * (1.1 - WET_EFFECT_INTESITY)); | |
}; | |
detach mission_wetFX; | |
mission_wetFX attachTo [_unit, [0,0,0]]; | |
}, true] call CBA_fnc_addPlayerEventHandler; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment