WoWInterface - View Single Post - not well-formed error and OnUpdate script not working. Help?
View Single Post
12-15-20, 11:21 AM   #10
I did that?
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,348
You shouldd be getting an error!
Change the first instance of:
self.TimeSinceLastUpdate = 0
f.TimeSinceLastUpdate = 0
f is the frame you just created. The second place you reset self.TimeSinceLastUpdate is the frame referring to itself inside the script.

XML in WoW is used for frame creation and not much else (but that can also be done in lua alone).
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 12-15-20 at 11:26 AM.
  Reply With Quote