Thread: NPC Scripting
View Single Post
  #7  
Old 07-29-2002, 10:19 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
Quote:
Originally posted by Poogle
playertouchesme worked for me on my lapytop this morning.
Obviously you didn't try touching it.

Try this script.
NPC Code:

// NPC made by Stefan Knorr
if (created) {
setimg door.png;
setshape 1,32,32;
}
if (playertouchesme) {
hide;
sleep 3;
show;
}


And play in the level, and touch it.
Nothing happens.
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote