
10-20-2001, 05:16 AM
|
|
Registered User
|
Join Date: Aug 2001
Posts: 378
|
|
|
if (timeout){
if (strequals(#m,hurt){sleep .05;setani runic,playerdirection;
timeout =.05;
}
it's something like that, BUT that would replace it even if you're hit by a sword, so you should use your last code. Except put it in a time out and don't use if (weaponfired&&waspeltbybush){} or whatever. When it does that they'd have to use the NPC the exact moment that they would be getting hit. So use something like:
if (playerenters){toweapons Ijustwrotethisintheforums;
timeout=.05;
}
if (timeout&&isweapon&&waspeltbybush||waspeltbyvase){
blah blah blah;
timeout=.05;
} |
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
|
|
|
|