
02-16-2010, 11:55 PM
|
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
|
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). |
|
|
|