Quote:
Originally Posted by DustyPorViva
From what I remember, the old shootX()'s work off the NPC's x/y instead of the player's.
Something like:
this.x = player.x;
this.y = player.y;
shootarrow(player.dir);
might work. However, I'm pretty sure you don't need to take precautions like this(as WNPC's should by, default, be positioned at the player's x/y). Default bows are actually scripted and simply use shootarrow(player.dir).
|
yes, i know about the bow, but i need shootnuke, shootfireball, ect too.
i don't see how setting this.x/y to player's x/y is going to change the shootarrow, but i'll try that tomorrow anyway.