Don't really understand what you're trying to do... Could you explain it? I guess it has something to do with the save[x]'s... but I don't understand what.
From reading a little. I guess you have an NPC that will walk to a door and open it?
If that's the case, use triggeractions, not save[x]'s.
PHP Code:
if (created) {
showcharacter;
setcharprop #3,head0.png;
setcharprop #C0,orange;
setcharprop #C1,white;
setcharprop #C2,blue;
setcharprop #C3,red;
setcharprop #C4,black;
setcharprop #2,shield1.gif;
shieldpower = 1;
dir = 2;
}
if (playertouchsme) {
move 26.5,-4,10,0;
freezeplayer 10;
sleep 10;
triggeraction x+1,y,opendoor,;
}
PHP Code:
if (actionopendoor) hide;
Though I don't remember if triggeractions work from one non-weapon NPC to another...