View Single Post
03-12-18, 01:49 AM   #1
jukx
A Murloc Raider
 
jukx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 7
Question PLAYER_CHANGED_TARGET for target acquisition

I want to update my (oUF) frames each time the target changes or something is targeted in the first place. Initially I thought I could use the PLAYER_TARGET_CHANGED event for that, but it doesn't fire if you don't have a target and select something for the first time. Is there an event I could hook for that case?

edit: it's the UNIT_TARGET event
edit2: to find out which events fire during play, refer to the /eventtrace command

Last edited by jukx : 03-12-18 at 04:36 AM.
  Reply With Quote