View Single Post
  #6  
Old 12-24-2001, 09:23 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Googi
Okay...

I made the script...
NPC Code:

if (created) {
setimg door.png;
setshape 1,32,32;
}
if (strequals(#c,open door)&&strequals(#g,Dragon Knights)) {
move 2,0,99999999999,none;
}
if (strequals(#c,close door)&&strequals(#g,Dragon Knights)) {
move -2,0,99999999999,none;
}


Here is the problem.

When the players says open door more then once, without closing the door, the door just keeps on moving until it reaches the end of the level, the same thing goes with close door.



Can anyone tell me how to fix this?

Or does the same thing happen to pirate crew and Dustari?
It doesn't happen, you could use a server.string to fix that problem easy enough, except when you get too many server.strings, you lag the whole server
Reply With Quote