Thread: NPC Scripting
View Single Post
  #10  
Old 08-02-2002, 12:54 PM
stomper_TK stomper_TK is offline
Registered User
stomper_TK's Avatar
Join Date: Feb 2002
Location: My chair :-)
Posts: 846
stomper_TK is on a distinguished road
Send a message via AIM to stomper_TK
NPC Code:
// NPC made by Stefan Knorr
if (created) {
setimg door.png;
setshape 1,32,32;
}
if (playertouchesme) {
hide;
sleep 3;
show;
}



Why did you put in "setshape 1,32,32" is that for serverside or sothing? Teach me..
__________________
Reply With Quote