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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
raffporr
Newbie


Joined: 16 Oct 2000
Posts: 9
Location: Italy

PostPosted: Sun Nov 16, 2003 6:30 pm   

Achaea stats gauges
 
Since Achaea put on new stats prompt I wrote a script for gauges on Health, Mana, Endurance and Willpower.

This is my code.
#TRIGGER {Health: %1/%2 Mana: %3/%4} {hp = %1;maxhp = %2;mn = %3;maxmn = %4}
#TRIGGER {Endurance: %1/%2 Willpower: %3/%4} {ed = %1;maxed = %2;wp = %3;maxwp = %4}
#TRIGGER {&{hp}h, &{mn}m, &{ed}e, &{wp}w (%w)~-}
#BUTTON 1 {Hp: @hp} {} {} {} {@hp} {} {} {Size} {60} {11} {Pos} {0} {241} {32800} {} {Gauge||12|@maxhp|@maxhp/4|1} {} "gauges" {Explore|Inset} {} {}
#BUTTON 2 {Mp: @mn} {} {} {} {@mn} {} {} {Size} {60} {11} {Pos} {12} {241} {32816} {} {Gauge||12|@maxmn|@maxmn/4|13} {} "gauges" {Explore|Inset} {} {}
#BUTTON 3 {Ed: @ed} {} {} {} {@ed} {} {} {Size} {60} {11} {Pos} {1} {301} {91} {} {Gauge||12|@maxed|@maxed/4|2} {} "gauges" {Explore|Inset} {} {}
#BUTTON 4 {Wp: @wp} {} {} {} {@wp} {} {} {Size} {60} {11} {Pos} {12} {301} {112} {} {Gauge||12|@maxwp|@maxwp/4|10} {} "gauges" {Explore|Inset} {} {}


Well, these are "my" sizes and positions. You can change them.

I hope it is useful to everybody
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts 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