Alias help...

Posted by Hchstenor on Fri 24 Jun 2005 11:06 PM — 2 posts, 10,895 views.

#0
Ok, I can do regular aliases, but I want something more complex than I know how to do...
At any given time in my game I will be holding a sword, axe, or hammer. The sword will be in a sheath, and the axe and hammer will be in a belt. I will never be holding 2 things, only one. I have an alias to wield sword from sheath. One for wield axe from belt. One to wield hammer from belt. I then have an addition 3 aliases: put sword in sheath, put axe in belt, put hammer in belt. I'm running low on memory and I am trying to condense my aliases, and triggers to as minimum as possible. I want 1 alias to 'wield' my weapon, wether it be sword, hammer or axe, from either a sheath, or belt. I've seen it done, but I don't personally know how to write it. I know I can do alias 1 wield sword from sheath, wield hammer from belt, wield axe from belt. Unfortunately in game if I would get tons of error messages resulting in a spammy world of chaos. So, how might I write this? I thought it was something like: wield (sword|hammer|axe|) from (sheath|belt)... help?
#1
Ok, without help I figured it out... that's awkward, it just came to me. I know there's other ways, but I made 2 variables one for weapon and one for holster... then I set an alias to draw those variables.

Another question, can I trigger my hp to be colored? Different colors for different hp, like at low hp it'd be red and full hp would be blue...