View Single Post
11-23-14, 01:27 AM   #3
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
If you can't use unit tokens (eg. party1) instead of names, then you'd want to register for PLAYER_ENTERING_WORLD and/or ZONE_CHANGED_NEW_AREA and check the return values from GetInstanceInfo to detect when you enter an arena.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote