|
Dielantha Beginner
Joined: 29 Nov 2002 Posts: 12 Location: USA
|
Posted: Sat Nov 30, 2002 12:29 am
zMud Buttons |
Hey everyone,
I've been exploring the features of zmud more in depth recently and I came across making buttons. Now I have a question but I'm not sure it is possible. Right now I have all my defensive spells setup as buttons on the bottom panel. When a spell drops I just click the button (obviously). My question is this. Is it possible to link a trigger to a button? What I wanna do is when a spell like sanctuary drops the mud displays "The white aura around your body fades." Can I capture that text in a trigger and make my Sanctuary button flash until I click it? If not thats fine. Just an idea I had since I have 15 buttons and more spells to come as i rank.
Thanks for any help you can give me.
Dielantha |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Nov 30, 2002 1:42 am |
No, you can't make them blink (at least I can't). You can change their colors though. If most of your buttons are black on gray, a button that's white on red will probably stand out even without blinking.
Use the %btncol function.
LightBulb
Senior Member |
|
|
|
dskorren Novice
Joined: 07 Feb 2002 Posts: 48 Location: Philippines
|
Posted: Sat Nov 30, 2002 1:53 am |
You can try and make your buttons into type toggle. Then for every spellups that you have, trigger it so set off a variable.
#TR {^You are surrounded by a white aura.} {#var sanctuary 1}
#TR {^The white aura around your body fades.} {#var sanctuary 0}
In your advanced tab for the button, put the @sanctuary in the value field. Your button will then be either up or down, depending on the state of your variable sanctuary. You can also add cast sanctuary on the down state of your toggle button so it will try to auto cast the spell when it wears off.
here is a screen shot of my mud window output
http://nante2.tripod.com/zmud.jpg
*for some reason, the hyperlink does not display correctly, copy n paste it in a separate window |
|
|
|
Dielantha Beginner
Joined: 29 Nov 2002 Posts: 12 Location: USA
|
Posted: Sat Nov 30, 2002 2:11 am |
Thank you lightbulb your suggestion works just as good.
Dielantha |
|
|
|
|
|