i had this working at one point, now its bugged, dont know what happened.
well it was laying arrows perfect but now its not.
im using shoot, and i want it to lay an arrow when it hits the ground im using it like it said in newfeatures2002.txt
with :
NPC Code:
if (actionprojectile){
setplayerprop #c,#p(0)--#p(1)--#p(2)--#p(3);
if (strequals(#p(2),arrow)){
this.px=strtofloat(#p(0));
this.py=strtofloat(#p(1));
putnpc2 this.px,this.py,{
if (created){
setcharani arrowstuck,barrow0.png;
sleep 4;
destroy;
}
}
}
}
it lays the arrow too soon, and the arrow is half the distance from where the arrow finaly stopped going.
any ideas what theproblem is?