Re: Particles Vanishings.
Code:
function Create(self)
self.Vel = (10,0)
end
function Update(self)
self.Age=1
if self.ToDelete then
local SnowPixel = CreateMOPixel(self.PresetName, "Weather.rte")
SnowPixel.Pos = self.Pos
SnowPixel.Vel = self.Vel
MovableMan:AddParticle(SnowPixel)
end
end
I think this would make the pixel pretty much impossible to delete.