Hello, I've been having trouble with the Move Object command in my game. I want to move the player to a different room, but it doesn't move the player.
Here's the code:
TextFX_Typewriter ("P L E A S E _ E N T E R _ C O D E", 200)
get input {
if (result = "SP1" + game.sp_code) {
// sp_code predetermined by a rng
TextFX_Typewriter ("P O D _ P R E P A R E D _ E N T E R", 200)
SetTimeout (9) {
msg ("<br/>As you plant one foot inside the pod, the entire ship trembles violently and you fall over.<br/><br/>Your head pounds in harmony with at least five blaring alarms, and the disturbing sound of screeching metal fills the ship.")
game.gridmap = false
// this command is to disable the auto-map generator, which freaks out if you use the moveobject command
// instead of an exit
MoveObject (NamedFemale, Cryosleep Chamber ALARM)
MoveObject (NamedMale, Cryosleep Chamber ALARM)
// the player has previously gone through a character builder which sets the player object as either
// NamedFemale or NamedMale
game.gridmap = true
EnableTimer (ShipExplode)
// this starts the timer for the escape sequence
}
}
else {
TextFX_Typewriter ("I N C O R R E C T _ C O D E", 200)
}
}
\
This is what it looks like currently when the script is triggered:

This is what it should look like when the script is triggered:

(By the way, ignore how the map is not filled out and how most of the screen is clear, to get to this room I had to move the player starting point to the room)
Not sure what I'm doing wrong.
Here is the link for downloading the game, the file is too big to have it as an attachment.
https://mega.nz/#!HhBGhTKD!TlSmeRS4nqA93PxxRRoQdrPh-lQPjIju5CfYu-vKFzU