Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
campnic
Newbie


Joined: 05 Mar 2006
Posts: 8

PostPosted: 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
Reply with quote
campnic
Newbie


Joined: 05 Mar 2006
Posts: 8

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net