View Single Post
09-01-19, 11:54 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,928
Originally Posted by Basil2 View Post
This function does not exist on Classic (

What is the simplest way to detect that player's character is casting a spell?

Detect of mobs or other players casting is also welcome
I had this problem with nUI. Took a while to figure it out but here it is ..

UnitChannelInfo(unit) doesn't exist .. but there is ChannelInfo() to get the players channel info
UnitCastingInfo(unit) doesn't exist .. but there is CastingInfo() to get the players casting info

I thought there was a way to get the targets casting and channeling info but maybe you can't get the details and I just remembered a time more recent than classic.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote