Author |
Message |
Topic: Statbar output (hp mana move and xp) |
Imish
Replies: 0
Views: 6965
|
Forum: Finished MUD Scripts Posted: Sat Aug 03, 2002 9:03 am Subject: Statbar output (hp mana move and xp) |
#CLASS {Stats}
#VAR HP {}
#VAR MAXHP {}
#VAR M {}
#VAR MAXM {}
#VAR MV {}
#VAR MAXMV {}
#TRIGGER {(%d)hp (%d)Mhp (%d)m (%d)Mm (%d)mv (%d)Mmv (%d)xp} {#VA HP %1;#VA MAXHP %2;#VA M %3;#VA MAXM %4 ... |
Topic: Need help updating static variables |
Imish
Replies: 4
Views: 6568
|
Forum: zMUD General Discussion Posted: Thu Aug 01, 2002 3:11 am Subject: Need help updating static variables |
Ok this is the look of the finished output (just use it if you want, works fine for me)
#CLASS {Stats}
#VAR HP {}
#VAR MAXHP {}
#VAR M {}
#VAR MAXM {245}
#VAR MV {}
#VAR MAXMV {}
#TRIGGER {( ... |
Topic: Need help updating static variables |
Imish
Replies: 4
Views: 6568
|
Forum: zMUD General Discussion Posted: Thu Aug 01, 2002 3:08 am Subject: Need help updating static variables |
Never mind...
For some reason when i added the variables of hp and stuff to the stat class they autoupdated and suddenly worked..
oh well it works, its not for me to question how ;)
|
Topic: Need help updating static variables |
Imish
Replies: 4
Views: 6568
|
Forum: zMUD General Discussion Posted: Thu Aug 01, 2002 2:55 am Subject: Need help updating static variables |
Ok, i was able to customize my prompt (dident know i could and i played this mud for 3 years or more)thanks for tip..
Now it looks like this..
384hp 384Mhp 245m 245Mm 331mv 331Mmv 688xp
but i stil ... |
Topic: Need help updating static variables |
Imish
Replies: 4
Views: 6568
|
Forum: zMUD General Discussion Posted: Thu Aug 01, 2002 1:09 am Subject: Need help updating static variables |
Ok, let me first state how i finnaly set up my stat bar..
Trigger i use to update first set of variables (@hp, @m, @mv, @xp)
#TRIGGER {<(%d)hp (%d)m (%d)mv (%d)xp>} {#VA HP %1; #VA M %2; #VA ... |
Topic: Got a small script problem.. |
Imish
Replies: 2
Views: 4414
|
Forum: zMUD General Discussion Posted: Wed Jul 31, 2002 12:27 am Subject: Got a small script problem.. |
Btw working on a quite efficient DIKU / ROM based Archmage / Sorcerer auto buff and heal script...
(That have not given me HALF the trubble of that silly stat bar)
Hopeing to do some final tweaks a ... |
Topic: Got a small script problem.. |
Imish
Replies: 2
Views: 4414
|
Forum: zMUD General Discussion Posted: Wed Jul 31, 2002 12:20 am Subject: Got a small script problem.. |
Been trying to get a working statbar output in this sort of format..
(HP: 120 / 120) (Mana: 200 /200) (Move: 100 /100) (Total of 2000 xp to next lvl)
The prompt looks like this <276hp 441m 371m ... |
|