raffporr Newbie
Joined: 16 Oct 2000 Posts: 9 Location: Italy
|
Posted: 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 |
|