WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Cladhaire at 9/8/2005 8:40:20 AM PDT
Subject: HOWTO:Detecting Instant Cast Spells (Slouken)
   Note to Slouken:

Want to see if we can get word from Slouken on the addition of information about instant cast spells. I understand the reason for not having target information in cast-time spells, but an instant-cast spell is finished casting when we grab SPELLCAST_STOP. Any chance of getting spell or target information included (ideally for only instant-cast spells.. so we can differentiate).

--
Since there have been a lot of questions about it recently, I decided to write up a HOWTO on how to detect which instant cast spells you cast on a target, and which target. This is not a new technique.. but I've brought it together and tried to explain as much as I could. Until we get more information from the events (perhaps SPELLCAST_STOP can send some args with it =P) we don't have a much better method than this to get the info we need.

This howto explains the method of getting spell name and target information on spellcast (specifically instant-cast spells) by hooking the casting and targeting functions. While this code grabs all information for all spell casts-- but this can easily be filtered out.

If you have any questions, feel free to contact me via email (cladhaire at gmail dot com) or just use this thread. This code is tested and working in one of my add-ons, but with the name changing, etc.. this specific tutorial hasn't been tested. It compiles-- and I'll test it later tonight.

http://www.wowwiki.com/HOWTO:_Detecting_Instant_Cast_Spells

Either way, the information there should be helpful to anyone who needs to determine the REAL target of a spell being cast. Thanks to TS and Cide who did a lot of the initial legwork on this for their heal-cancellation in CTRA-- I just extended it to grab the ever-important instant cast spells, along with the tricky mouse click on the 3-D world (thanks Iriel).

EDIT: Including the link typically helps

[ post edited by Cladhaire ]


http://silent-transcendence.net/?q=watchdog
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=212166&p=#post212166
 
Poster: slouken at 9/10/2005 3:32:30 PM PDT
Subject: Re: HOWTO:Detecting Instant Cast Spells (Slou
   Which would you like? *grin*

Just kidding. There's no more information available than what you already have.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=212166&p=#post213598

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?