Ok, this is somewhat complicated so I have to explain.
I have an object called 'hallway'
When my player touches it, it takes it to the next room.
it has 2 variables that are called 'targetroom' and 'targetdoor'
Targetroom is the layout the player is taken to.
Targetdoor is the position in the room the player is taken to.
However, targetdoor won't be handled by numbers. It will be handled by letters! Every letter used will have its object with the same name.
However, I can't get the player to go to the position of the targetdoor.
if you're wondering why I'm doing it like this, it's because I'm recreating a gamemaker game