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
Durux
Newbie


Joined: 13 Apr 2003
Posts: 1
Location: Denmark

PostPosted: Sun Apr 13, 2003 7:12 pm   

How do i create Gauge for HP, XP, Mana ect.
 
I can create the Gauge buttons.

But how do i get the vaules from the server for:
Current HP
Max HP
Current Mana
Max Mana
Current XP
XP till level
Current movement
Max movement


And stuff like that?

I'm new to ZMud.
Have tried to play on Muds before and i'm a big RPG player.
Please help me...
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Apr 13, 2003 8:11 pm   
 
That depends a great deal on the methods your MUD uses to provide that information. In many cases, some or all of those numbers may be available from the MUD prompt, in which case a trigger can be used to place them into variables. The variables can then be used for the values which control the gauge. In other cases, it will be necessary to send some command, such as "score" or "health", to the MUD. In that case, you'll probably want to set up an alarm to send the necessary command every so often, but you'll still use a trigger to place the numbers into variables.

LightBulb
Advanced Member
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