| Data Realms Fan Forums http://45.55.195.193/  | 
|
| Particles Vanishings. http://45.55.195.193/viewtopic.php?f=73&t=21380  | 
	Page 1 of 1 | 
| Author: | Abdul Alhazred [ Thu Feb 03, 2011 6:55 pm ] | 
| Post subject: | Re: Particles Vanishings. | 
I think that doing self.Age = 1 (if set to 0 glows won't show) every frame extends the life time of the object, but you still need a mechanism to recreate it when it is eventually deleted. Have you tried setting MissionCritical to 1 in the ini?  | 
	|
| Author: | Abdul Alhazred [ Fri Feb 04, 2011 11:53 am ] | 
| Post subject: | 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  | 
	|
| Author: | Abdul Alhazred [ Fri Feb 04, 2011 6:12 pm ] | 
| Post subject: | Re: Particles Vanishings. | 
Sorry, I just copied your code and did not notice the error in the create function. self.Vel = (10,0) sould be self.Vel = Vector(10,0)  | 
	|
| Author: | Abdul Alhazred [ Sat Feb 05, 2011 9:45 pm ] | 
| Post subject: | Re: Particles Vanishings. | 
No console errors? If you post your script I can take a look.  | 
	|
| Author: | Abdul Alhazred [ Sun Feb 06, 2011 12:08 am ] | 
| Post subject: | Re: Particles Vanishings. | 
The code I gave you only makes an object hang around for ever, you have to add the code that spawn the snow yourself.  | 
	|
| Page 1 of 1 | All times are UTC [ DST ] | 
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/  | 
|