Data Realms Fan Forums
http://45.55.195.193/

I need a very simple script.
http://45.55.195.193/viewtopic.php?f=73&t=23719
Page 1 of 1

Author:  Emogotsaone [ Fri May 13, 2011 4:21 am ]
Post subject:  I need a very simple script.

I'm making a cluster grenade and I want the MOSRotating to exploded in mid air, is there a Lua that is just a timer that later makes it gibs itself.

Author:  Duh102 [ Fri May 13, 2011 3:05 pm ]
Post subject:  Re: I need a very simple script.

Code:
function Create(self)
  self.myTimer = Timer();
end

function Update(self)
  if self.myTimer:IsPastSimMS(X) then
    self:gibThis();
  end
end


Where X is the time you want it to gib in milliseconds.

Author:  Emogotsaone [ Sat May 14, 2011 2:37 am ]
Post subject:  Re: I need a very simple script.

Thanks alot!

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/