Anarias2005-01-06 13:58:53
Not wanting to derail any of the other topics, decided I'd ask here.
First time writing up anything in Zmud so calling me a newbie is being generous. I've been trying to create health and mana bars for about two hours now but haven't been able to overcome this one problem. I'm not able to determine what or how to trigger the proper line to set the maximum's on my health and mana. If I enter maxmana=whatever-amount-of-mana-is-my-max into the command line in Zmud then it will keep track of my mana usage just fine so I know its pulling the right info off of my prompt. I'm just not getting the trigger to work for setting the max.
If this makes sense, super. Any insight would be welcome.
First time writing up anything in Zmud so calling me a newbie is being generous. I've been trying to create health and mana bars for about two hours now but haven't been able to overcome this one problem. I'm not able to determine what or how to trigger the proper line to set the maximum's on my health and mana. If I enter maxmana=whatever-amount-of-mana-is-my-max into the command line in Zmud then it will keep track of my mana usage just fine so I know its pulling the right info off of my prompt. I'm just not getting the trigger to work for setting the max.
If this makes sense, super. Any insight would be welcome.
Unknown2005-01-06 14:03:30
I havent got access to my client or to lusternia so I cant remember the exact line, butif you just trigger it from your SCORE you will be able to always guarantee you set your max mana/health correctly.
Its something along the lines of
#TRIGGER {Health: %1/%2} {#VAR MaxHealth %2}
again, I dont have the exact text, but that should give you the idea. Its also not optimised in anyway, but its a start
Its something along the lines of
#TRIGGER {Health: %1/%2} {#VAR MaxHealth %2}
again, I dont have the exact text, but that should give you the idea. Its also not optimised in anyway, but its a start
Anarias2005-01-06 14:20:44
Yeah, I've been trying to trigger the score line and following your instructions produced these results:
Mana : 1721/1721 Willpower : 7505/7505
Variable maxmana=7505 not defined
Ego : 1721/1721 Reserves : 10%
Mana : 1721/1721 Willpower : 7505/7505
Variable maxmana=7505 not defined
Ego : 1721/1721 Reserves : 10%
Unknown2005-01-06 14:29:07
If someone hasnt answered you by the time I get home from work, I will post you a definitive working set of bars so you can look at them.
Tavon2005-01-06 14:46:40
#TRIGGER {Mana%s:%s(%d)/(%d)} {#var maxmana %2;#var currmana %1}
Try something like that.
Try something like that.
Anarias2005-01-06 14:53:31
Aha! Brilliant, it works now. I suspected I wasn't treating the spaces correctly and having this work seems to confirm that. Many thanks to the both of you.