_posDrop = _this select 0
_velocity = _this select 1
_lifeTime = _this select 2
_intensity = _this select 3
_object = _this select 4
_delay = 0.3
_lifeTicks = _lifeTime / _delay
_lifeTick = _lifeTicks

#Begin

drop ["cl_fire", "", "Billboard", 1, 1.5, _posDrop, [(_velocity select 0) + random 0.3, (_velocity select 1) + random 0.3, (_velocity select 2) + random 0.3], 1, 0.004, 0.004, 0.1, [(0.1 + 0.2 * _lifeTick/_lifeTicks) * _intensity, (0.1 + 0.5 * _lifeTick/_lifeTicks) * _intensity, (0.1 + 0.1 * _lifeTick/_lifeTicks) * intensity], [[.4,.9,1,0], [1,1,.9,1], [1,1,1,0.6], [1,.8,.8,0]], [0,.5,1], 0.5, 0.05, "", "", _object]

~_delay

_lifeTick = _lifeTick - 1
?_lifeTick > 0 : goto "Begin"