castbar help
First of all, sorry for my English.
I need help as see my cast bar to raid target on that i cast spell (heal). This my code show cast bar on casting player in raidframe,but i need show player (my) cast bar on raid target. Code:
raid = function(self, ...) |
I'm not really sure if I understand your question. Do you want the players castbar to be shown on the raid unit you are healing?
If so: You can't really spawn a player castbar on a raid frame, but you can move the player castbar to the raid frame on OnEnter/Onleave. Something like: Lua Code:
Remember that you also need to :SetScript() these handlers. |
Very thanks for your answer.
I have second problem, i begin cast on raid player 1 (onenter), my cast bar is on this player, but when i move mouse (onLeave) on other raid player my cast bar is moved and end animation on this player. I need, when i begin any cast on raidplayer1, this cast bar ended here when i move mouse over other raidplayers. Again apologize for my English, and your lost time. |
That requires quite a lot more work:
Lua Code:
Might work. :) Edit: No it won't, I'm completely missing the actual problem here being the initial anchoring, followed by re-anchoring when targeting a new unit. I'll throw some time at it tomorrow night or so. |
Try this out
Lua Code:
|
P3lim : first cast is on raid frame, but all other is on Player frame.
|
All times are GMT -6. The time now is 07:12 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI