View unanswered posts | View active topics It is currently Fri Dec 27, 2024 7:29 am



Reply to topic  [ 5 posts ] 
 Erasing Particles 
Author Message
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post 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
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post Re: Erasing Particles
You're doing it wrong, because LifeTime = 1 always works for me.


Wed Jul 01, 2009 10:26 pm
Profile WWW
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Erasing Particles
In Lua it's Lifetime, not LifeTime. You can also use particle.ToDelete = true.


Wed Jul 01, 2009 10:34 pm
Profile WWW
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Erasing Particles
ToDelete can crash when enabled on create.


Wed Jul 01, 2009 11:05 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post 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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.031s | 15 Queries | GZIP : Off ]