View Single Post
11-15-16, 01:12 AM   #7
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,324
I would honestly build a generic table and two faction-specific override tables to store the references between each song file and MapIDs. You would have the addon detect when you change zones, look in the appropriate faction-specific table for the song to play, falling back to the generic table if none are found, and play the song if it is different than the one already playing.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote