View Single Post
10-16-11, 11:04 AM   #17
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 1,600
Hmm, might be able to just define your own table. Example:

Lua Code:
  1. local MyVals = {}
  2.  
  3. function MiniMapTracking_SetTracking (self, id, on)
  4.     wipe(MyVals)
  5.     MyVals[id] = on
  6.     UIDropDownMenu_Refresh(MyDropDown);
  7. end
  8.  
  9. function MiniMapTrackingDropDownButton_IsActive(button)
  10.     return MyVals[button.arg1];
  11. end
  Reply With Quote