Thread: How to ?
View Single Post
  #8  
Old 08-25-2002, 02:45 AM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
Re: How to ?

Quote:
Originally posted by Timpan3
Ok heres the deal, my npc is standing in the direction "up" and i want my NPC to (when (playertouchsme)) change direction to south and say 1;

Please Help..
well.. the beeeest way to make something alitlle bit better is..
if(playertouchsme){dir=(playerdir+2)%4;}

but if you wanna make this... Use sleep to the npc turn before say something.... it starts with dir equal 0 and when you touch it it changes to 2.. I think you know that.. rofl
Reply With Quote