thedoctor989 Like I said, we have that script already. It's the "transportifused" script. The command you want to use if "moveplrifused"
This move the player to the named "ifused" entity. Here is a simple quick script, attach it to the door's "Main AI" script.
:state=0,plrdistwithin=50:state=1,plrsound=audiobank\scifi\scenery\lifts\teleport.wav,plrmoveifused
:state=1,plrdistfurther=55:state=0
In the door's "If Used" field enter a name of an entity you will place in the other room. Place any "small" dynamic entity in the other room (like a key ???)
Give it the SAME name (make sure its dynamic) Give this entity the "default.fpi" script for the main ai. Now do the same for the other room's door.
Use a different name for the "entity" and your all set
My games never have bugs. They just develop random features..
Lots and lots of random features...