Thread: washit
View Single Post
  #1  
Old 01-16-2004, 12:49 PM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
was hit

This problem happens on Classicdev.
When you hit a script with the default sword, the hurtdx/y values are changed, but not the hearts. The hurtdx/y vector is even pointing into the wrong direction.

This is quite annoying as a) I use hurtdx/y to check whether the object is already in the hurt mode and so my script thinks that it doesn't need to remove hearts from the object (The object is invulnerable to the sword because of this).

And b) the hurtdx/y values are even wrong, and the object is not flying into the direction I intend to.

I reduced the problem to this script:

NPC Code:

if (created) {
showcharacter;
hearts = 6;
}
if (wa**** || playertouchsme) {
message #v(hearts) - #v(hurtdx) - #v(hurtdy);
}



Edit: Could anyone please remove this stupid filter? It censored my sword-hit event...
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote