What scripts determine the path the actor takes? I have a series of scenes of scenes. I have most working ok but there is one where the actor is invisible coming from one side but ok (except for a strange path) coming from the other side. I am running in 2.5D mode.
If I start from the beginning, the actor is standing in the middle of the room. I click to go into room 2. The actor doesn't show up but I can click on the entrance of room three to get him there. He is at the bottom of the screen facing up. From room three, I click to go back to room 2. The entrance to room 2 is on the bottom right of the screen but he goes up and turn around before going down again. From there, the actor enters room 2 where he is visible but he comes from the far left, turns facing down, walks down and then turns to face up. If I then click to go back to room 1, I hear footsteps but there is no actor until he magically appears in the middle.
The script for entering room 2 from room 1 just has (in on "LeftClick")
actor.GoToObject(this);
Game.ChangeScene("scenes\hall\hall.scene");
The scene initialization script for room 2 has:
actor.GoTo(650, 650);
actor.Direction = DI_UP;
actor.Active = true;
The other "LeftClick" and scene initialization scripts are similar. I think the actor is getting stuck outside somewhere when he enters room 2 from room 1. But how can I change the path he takes? Are the scripts adding together somehow to give these strange paths?
Thanks. I appreciate any suggestions anyone can make. I've searched scripts and the forum but I must be missing something.