Data Realms Fan Forums http://45.55.195.193/ |
|
Timed Deletion http://45.55.195.193/viewtopic.php?f=75&t=16473 |
Page 1 of 1 |
Author: | Captain Kicktar [ Tue Sep 08, 2009 7:03 pm ] |
Post subject: | Timed Deletion |
Can someone make a Lua script that makes a bullet dissapear after it hits the ground? So bullet hits ground, a little while later it dissapears. |
Author: | Mind [ Tue Sep 08, 2009 9:53 pm ] |
Post subject: | Re: Timed Deletion |
Well, by the time it uh hits the ground it should turn into terrain, defeating the puropse of deleting it. I'm guessing you have reasoning behind this so nvm. However, if you wanted to do that, do something like Code: function Update(self) if self:IsAtRest() == true then self.ToDelete = true; end Hope this help |
Author: | Captain Kicktar [ Wed Sep 09, 2009 4:00 pm ] |
Post subject: | Re: Timed Deletion |
What I really want is for the bullet to be very sharp without making pixel sized tunnels in the terrain. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |