Thread: aBags help
View Single Post
06-13-11, 10:15 AM   #6
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
Hey there, thanks for the reply. That does indeed work, but I discovered there is one flaw if I were to use my method with your suggestion; the BAG_CLOSED event only triggers when a bag is removed or upgraded, but not when a new bag is added entirely.

I guess I'll just have to wipe the button table and call SetPoint on all of them every time the bags open. It's probably still more efficient than doing it on every BAG_UPDATE - the only other option, seeing as there is no specific event fired when a new bag is added.
  Reply With Quote