I have been trying to use the following on a button OnPress in the raid menu:
---------------------
Parent.WardButton.sPlayerName=Parent.Parent.Parent.Parent.Parent.Parent.Target.v 0.Name.LocalText
target_none
target Parent.WardButton.sPlayerName
useability Malignant Shroud
---------------------
The problem is that when I press the button it will say no target avaliable even if the target is there. It's like it's trying to cast the spell before the target command is given.
If I remove the target_none if you click the button twice you will get the person's pet if they have one. I am trying to avoid that... I used similar commands in the group UI and it works fine... well I use target_group_member there however.
Any suggestions on how to resolve this?
|