Data Realms Fan Forums
http://45.55.195.193/

Erasing Particles
http://45.55.195.193/viewtopic.php?f=73&t=15671
Page 1 of 1

Author:  Mind [ Wed Jul 01, 2009 8:33 pm ]
Post subject:  Erasing Particles

Are there any commands that can erase particles fomr the game?

Tried particle:EraseFromTerrain(); but doesn't work. Any i also tried particle.LifeTime = 1, but also doesn't work.

Any commands that solve this that I'm unaware of?

Author:  zalo [ Wed Jul 01, 2009 10:26 pm ]
Post subject:  Re: Erasing Particles

You're doing it wrong, because LifeTime = 1 always works for me.

Author:  TheLastBanana [ Wed Jul 01, 2009 10:34 pm ]
Post subject:  Re: Erasing Particles

In Lua it's Lifetime, not LifeTime. You can also use particle.ToDelete = true.

Author:  mail2345 [ Wed Jul 01, 2009 11:05 pm ]
Post subject:  Re: Erasing Particles

ToDelete can crash when enabled on create.

Author:  Geti [ Wed Jul 01, 2009 11:35 pm ]
Post subject:  Re: Erasing Particles

so use it in update()?
ToDelete is most reliable for me, though Lifetime also works fine.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/