Creating Soundtrack custom events?
http://www.curse.com/addons/wow/soundtrack
I can't really find any support for this feature of the addon so I figured I'd ask here. In terms of scripting, I've only ever done really minor stuff like OnClick events in kgPanels, so I'm floundering here... Not even sure where to start. I dug around in the lua files to see how default events are structured but I'm getting even more lost, haha... Specifically, I'd like to write a custom event that plays music while I am fishing, and not something that is attached to equipping a fishing pole, since I never use one. Any pointers, guys? |
Hmm I dont think there is an aura or anything while fishing to track. You can use the events to track when you are channeling a spell and stop channeling it. You can then break it down to see if the spell is fishing.
Below is a quick script I threw together in WoWLua and you can see how it shows when I am channeling a spell and the data it dumps. This isnt made to track just fishing but can be very easily adapted to. I am sure there are other ways but this is something I thought up real fast that may help you get started. Code:
local f = CreateFrame("Frame", nil, UIParent) Event Documentation: UNIT_SPELLCAST_CHANNEL_START UNIT_SPELLCAST_CHANNEL_STOP |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Course it's funner to go into the river and catch the fish by hand. |
Quote:
|
All times are GMT -6. The time now is 08:06 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI