One way of doing it is placing a TriggerBox and a XMarkerHeading on each side and, when the player triggers the TriggerBox, move him to the XMarkerKeading on the other side.
The TriggerBox script should be something like this, i guess
scn TBAscript
short triggered
begin onTrigger
if triggered == 0
playerref.moveto XMARKERonTheOtherSideRef
set triggered to 2 ; prevents the player to be moved two frames in a row.
elseif triggered > 0
set triggered to triggered -1
endif
end
Instead of moving the player, you could force him to activate the door (DoorX.Activate PlayerRef 1)"), Long time ago i found out that going thru doors are 'cleaner' than MoveTo. Dont remember the details, but, if memory serves, had something to do with resetting the player animation.
Oooops . . .ninja'd - Automaatic doors ? Never used them. Sounds good.