Thread: rmod Layouts
View Single Post
Old 03/18/08, 12:20 PM   #77 (permalink)
 sadris
"If its not the best then its wrong"
 
sadris's Avatar
 
Tauren Druid
 
Mal'Ganis
OnUpdate is called on every frame refresh, so if you had 20fps, then it would be called 20 times a second.

You can only update every 1/2 second, for example by rewriting the OnUpdate func like:

  local OnUpdate = function(self, a1)
  	time = time + a1
  	
  	if(time > .5) then
  		<DO STUFF IN HERE>
  		time = 0
  	end
  end

Originally Posted by Anias View Post
queues cause people who generally fail to leave, so being on a server with queues can only be good in terms of your long term happiness
Originally Posted by Kiyoshi
Season 3 was pretty serious business. There's really no telling what Season 4 will hold.
 
User is offline.
Reply With Quote