Thread: hitobject
View Single Post
  #1  
Old 03-02-2002, 12:34 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
hitobject

This doesn't hurt the other NPCs!?! It;s not the whole script, just the part that is effecting it.
NPC Code:

this.x = x;
this.y = y;
this.dir = dir;
this.apos = {1.5,1, -1.5,1.5, 1.5,4, 3.5,1.5};

hitobjects 1,this.x+this.apos[this.dir*2],this.y+this.apos[this.dir*2+1];

__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote