The main idea is that you are trying to make the main player escape and every 15 seconds you change to the ghost perspective as that is the only way to open doors as there are no keys. So it has a bit of strategy of where you leave the player when you change or where you leave the ghost as the ghost will try to hunt you down when you are in the player perspective. I am working on a tutorial to try and explain this in a much simpler form.