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?