|
campnic Newbie
Joined: 05 Mar 2006 Posts: 8
|
Posted: Fri Mar 10, 2006 8:46 pm
Buttons with names that are variables |
I have set up 2 sets of 2 gagues for one of my characters. One set is for the main character (health and spell points) and one set for my servant (health and spell points). I gave these gauges the name @HpVar and @SpVar for myself since those hold my current health and spell point values so that i have a gauge representation and also the current value being displayed at all times. The problem is, I'd like to set it up that when my servant isn't with me or dies his bars disappear but im having trouble figuring out how i would do this. I assumed
#T- @ServSpVar
but haven't had any success as the button stays visible. Am I going about this wrong?
Nick |
|
|
|
campnic Newbie
Joined: 05 Mar 2006 Posts: 8
|
Posted: Fri Mar 10, 2006 8:49 pm |
dacheeba wrote: |
1.Make 2 different Classes call one Cmode and the other Pmode.
2.Put all combat buttons in Cmode and all peace buttons in Pmode.
3.Go into your settings editor and click on 'Disable Class when connecting to a Mud' for Cmode.
4.Make a button with the states for {#T- Cmode;#T+ Pmode} and {#T- Pmode;#T+ Cmode}.
5.Ta Da! <img src=icon_smile.gif border=0 align=middle>
dacheeba
|
Ever find the answer to your question 10 seconds too late. :-( I am going to move all the trivers for my servant into a class called servant and then toggel it based on whether or not my servant is present. I love this forum. |
|
|
|
|
|