Thread: 2 Questions
View Single Post
  #19  
Old 02-16-2002, 07:35 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
purely because i haven't used tile i'll use board.
NPC Code:

while (true) {
this.tile = board[playerx+1.5+64*playery+2];
for(i=0;i<3;i++;) {
if (this.tile==511&&keydown(i)) {
playerx+=vecx(playerdir);
playery+=vecy(playerdir);
}
}
sleep .05;
}



thats just a rough draft, but kinda like that.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote