sepe Novice
Joined: 09 Feb 2002 Posts: 39 Location: USA
|
Posted: Fri Mar 31, 2006 11:41 pm
Needing multiple #if's to be true |
For certain cases, I need more than one #if statement to be true. I remember there use to be a way to do this, but I've been away from gaming for a while nad just now returning. Any help would be great.
For example
#if (%1 < @Basehealth) *This is triggering off my health prompt that comes up every new prompt
and
#if (@PotionDelay = 0) *can only drink potions so often*
and
#if (@vomiting = 0) *If I'm throwing up I can drink anything and this is wasted*
then if all three of these are true I want the alias SipHealPotion to fire.
Also, while here, for the first line, is it possible to do something like
#if(%! < @basehealth - 100) so I'm not taking the potion if I have only lost 1 hp which is a wast, the potion cures up to 500ish hp's
Again thanks for the help, and Zmud is looking great! |
|