I'm working on a custom story, and I need to know how to make a door close and lock behind you when you've walked through it. I know that I need to place a script area, but other than that, I'm clueless.
Add a collide callback for the script area, and then call the functions SetSwingDoorClosed and SetSwingDoorLocked. If you don't know how to write those, you can find them here: