Quantcast
Fishing and UNIT_SPELLCAST_START - WoWInterface
Thread Tools Display Modes
01-23-21, 03:46 PM   #1
Tranzalore
A Murloc Raider
Join Date: Jan 2021
Posts: 6
Fishing and UNIT_SPELLCAST_START

I am making an addon that equips your gathering gear when you mouse over a harvistable node. As part of this I do not what it to try and change gear while the player is casting. I am currently tracking this with the UNIT_SPELLCAST_STOP and UNIT_SPELLCAST_START events. This works for Skinning, Minning and Herbalism but it is not being triggered when the fishing cast bar start/stops.

Is there an event I can track to know if the player is casting fishing?

Any help is appreciated.
  Reply With Quote
01-23-21, 03:57 PM   #2
Tranzalore
A Murloc Raider
Join Date: Jan 2021
Posts: 6
I figured it out for fishing i need to track the UNIT_SPELLCAST_CHANNEL_STOP and UNIT_SPELLCAST_CHANNEL_START events insteat.
  Reply With Quote
01-23-21, 11:35 PM   #3
Lazare
An Aku'mai Servant
 
Lazare's Avatar
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 34
Check the scripting in the addon "Outfitter" as it has scripting for changing gear when certain things happen i.e. fishing, picking of herbs and mining.Cheers!
__________________
"There's no such thing as too many addons."
Lothaer

My Authored Addons
HOME OF THE FREE, BECAUSE OF THE BRAVE
  Reply With Quote

WoWInterface » Classic - AddOns, Compliations, Macros » Classic - AddOn Help/Support » Fishing and UNIT_SPELLCAST_START

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off