View Single Post
  #1  
Unread 08-11-2009, 11:19 AM
karlheinz karlheinz is offline
A Weald Wolf
 
Join Date: Dec 2007
Server: Antonia Bayle
Posts: 82
Default Adding emotes to C2C-Buttons?

Hi,

how would I insert a say-text or sth. similar for both group- and raidwindow's curse-cures?

ive been previously using the profit raid window for a while, where it was quite easy to execute whatever code you liked by pressing the quick buttons or cure buttons (without _ever_ experiencing chat-lines not getting announced ingame). there you would have something like this:

Code:
<Data Name="Button4" Macro="SpellForMyLevel='Gravitas'
useabilityonplayer Parent.Target SpellForMyLevel
gsay /* Parent.Target Gravitas */" Tooltip="(80) Gravitas"/>
i gotta say im not that much experienced with UI-editing, but i would be guessing that upon pressing the button, the code that is contained within Macro="" gets executed

what I'm getting at is, that you could easily put in multiple lines which all got executed by just separating them with a newline in the .xml file.

would something similar be possible to the cure-buttons _and_ the click2cast-buttons, to allow more customizeable quickbuttons?

Last edited by karlheinz : 08-11-2009 at 11:22 AM.
Reply With Quote