WoW:Using OnUpdate correctly: Difference between revisions

m
Move page script moved page Using OnUpdate correctly to WoW:Using OnUpdate correctly without leaving a redirect
(Updated with new information)
m (Move page script moved page Using OnUpdate correctly to WoW:Using OnUpdate correctly without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 19: Line 19:
     <Scripts>
     <Scripts>
       <OnLoad>self.TimeSinceLastUpdate = 0 </OnLoad>
       <OnLoad>self.TimeSinceLastUpdate = 0 </OnLoad>
       <OnUpdate> MyAddon_OnUpdate(self, elapsed); </OnUpdate>       
       <OnUpdate function="MyAddon_OnUpdate" />       
     </Scripts>
     </Scripts>
   </Frame>
   </Frame>
Line 55: Line 55:
   end
   end
  end
  end
[[Category:HOWTOs|Use OnUpdate Correctly]]
[[Category:HOWTOs|Use OnUpdate Correctly]]
Anonymous user