PDA

View Full Version : Horses


MoonAngel
06-21-2001, 03:01 PM
ok, i get on a horse, then this newbie pker starts attacking me, when i try to retaliate he hits me and my hearts go down from 5 to 2 in one hit. that bug is caused because the sword attack on the horse is repeated while holding S =\ so i got pked by an idiot using water as his best friend. Sad, but true :( So anyways, fix that so that i never get caught by this bug again! thx!

FxChiP
06-24-2001, 04:11 AM
It's also caused partly in light of the fact that the horse doesn't get blown away by the hit, and the hurt gani doesn't even show.

As for the holding S/rapid sword slash bug, I have already fixed that, but it's never been implemented... the script to fix it is here:


if (timeout) {
if (keydown(5) && this.FxASlashed==0) {
this.FxASlashed=1;
}

if (!keydown(5)) {
this.FxASlashed=0;
}
}


If Stefan just puts that in the horse script (or something)... it shouldn't rapidly slash.

grim_squeaker_x
06-24-2001, 04:26 AM
I always use this for my keydowns, don't ask why.
if (created) {
setarray this.keydown,10;
setarray this.oldkeydown,10;
}
if (playerenters||timeout) {
for (this.k=0;this.k<10;this.k++) this.oldkeydown[this.k]=this.keydown[this.k];
for (this.k=0;this.k<10;this.k++) this.keydown[this.k]=(keydown(this.k));
timeout=0.05;
}