WoW:Using OnUpdate correctly: Difference between revisions

(Using locals instead of globals. See http://www.wowwiki.com/2.0_consolidated_changes (Frame Features))
Line 1: Line 1:
== How Often Is It Called ==
== How Often Is It Called ==
The game engine will call your OnUpdate function once each frame.  This is (in most cases) extremely excessive.
The game engine will call your OnUpdate function once each frame.  This is (in most cases) extremely excessive.
*'''Ctrl + R'''  to see the FPS on screen.
<!---
added: *'''Ctrl + R'''  to see the FPS on screen.
- Crixi 2008-08-23
--->


== When Is It Called ==
== When Is It Called ==
Anonymous user