Data Realms Fan Forums http://45.55.195.193/ |
|
Can LifeVariation be applied to MOPixels? http://45.55.195.193/viewtopic.php?f=1&t=25450 |
Page 1 of 1 |
Author: | Urch [ Thu Sep 08, 2011 5:08 am ] |
Post subject: | Can LifeVariation be applied to MOPixels? |
when title question is answered lock thread. I'm getting weird errors involving this and I just want to make sure before I have to make something much more complicated to get this weapon working the way I want. |
Author: | Azukki [ Thu Sep 08, 2011 5:50 am ] |
Post subject: | Re: Can LifeVariation be applied to MOPixels? |
Quote: when title question is answered lock thread. Anyways, no. LifeVariation is for emissions only. This emission can BE a MOPixel, but it can't be applied to a MOPixel that isn't emitted by something. Lua can achieve the same effect, with simpler control, quite easily, though. Code: function Create(self) self.Lifetime = math.random(100,2000) end Just save that as a .lua, and apply it to the MOPixel using ScriptPath = filelocationname Replace 100 with whatever minimum lifetime you want, replace 2000 with whatever maximum lifetime you want. |
Author: | Urch [ Thu Sep 08, 2011 6:00 am ] |
Post subject: | Re: Can LifeVariation be applied to MOPixels? |
Thanks, Azukki. I'm not sure I really understand the lock idea either but it felt right to write it. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |