RegisterUnitEvent vs RegisterEvent
I noticed something strange today. If you use RegisterEvent("UNIT_PET") and summon a warlock demon, you get the event 4 times (the first argument is all 4 times "player"). If you use RegisterUnitEvent("UNIT_PET", "player") you only catch the 2nd and the 3rd time. Why would that be the case? A bug?
|