Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Meowster on Sat 11/10/2003 19:05:53

Title: Player isn't in Room? No, honestly, I swear he is.
Post by: Meowster on Sat 11/10/2003 19:05:53
When will I stop with the stupid problems already?!? First the Missing View, and now THIS!!??? :(

Here we goes....

 // script for room: First time player enters screen
DisplaySpeech(EGO, "If I know Doctor Fred, he's got the Tentacles tied up in his secret lab...");
FaceLocation(EGO,183,179);
DisplaySpeech(EGO, "Question is... where is his secret lab?");
GUIOn(2);


It's just after a cut scene. It's in "First time player enters screen". There are no other script commands for that room.

The problem: After he says "...Secret Lab..." control is returned to the player. Without any commands from the player, the second control is returned Ian disappears, and a few moments later it boots out of the game with an error, "MoveCharacter: Player Character not in Room".

EDIT: Oh my GOD, never mind. Am I an idiot? It was a command from the previous room trying to take effect. Dumb me! Let all potential future idiots learn from the proffesional dunce. Do not be dumb, like me!
Title: Re:Player isn't in Room? No, honestly, I swear he is.
Post by: Pumaman on Sat 11/10/2003 23:22:41
hehe, glad you sorted it