|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Author |
Message |
Mind
Joined: Thu Mar 06, 2008 10:54 pm Posts: 1360 Location: USA
|
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?
|
Wed Jul 01, 2009 8:33 pm |
|
|
zalo
Joined: Sat Feb 03, 2007 7:11 pm Posts: 1496
|
Re: Erasing Particles
You're doing it wrong, because LifeTime = 1 always works for me.
|
Wed Jul 01, 2009 10:26 pm |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
Re: Erasing Particles
In Lua it's Lifetime, not LifeTime. You can also use particle.ToDelete = true.
|
Wed Jul 01, 2009 10:34 pm |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: Erasing Particles
ToDelete can crash when enabled on create.
|
Wed Jul 01, 2009 11:05 pm |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: Erasing Particles
so use it in update()? ToDelete is most reliable for me, though Lifetime also works fine.
|
Wed Jul 01, 2009 11:35 pm |
|
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|