View Single Post
  #1  
Old 09-23-2002, 02:01 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Exclamation Throwing npcs and playerenters...

Put an npc like this in a level and see what happens:
NPC Code:

if (playerenters) {
canbecarried;
message Hello!;
sleep 1;
message ;
}


You should notice that when it is thrown the playerenters event is called again. This is bad.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial

Last edited by Dach; 09-23-2002 at 03:20 AM..
Reply With Quote