View Single Post
  #10  
Unread 10-14-2006, 08:36 PM
Celestian Celestian is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 23
Default

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?
Reply With Quote