Hi,
I have a weird problem.
The game crashes when I want the game to be changed to the scene B.
However, it occurs only if the game is changed to the specific scene B. If the game is changed to another scene, it works well.
The script that changes to the scene B is:
#include "scripts\base.inc"
on "LeftClick"{
actor.GoToObject(this);
if(Game.IsItemTaken("flaming torch")){
Game.ChangeScene("scenes\Obzorye_Island-Svitava_Complex-Underground_corridor\Obzorye_Island-Svitava_Complex-Underground_corridor.scene");
}
else{
actor.Talk("inventory-08-special-04");
}
}
The scene-init script of the scene B is:
#include "scripts\base.inc"
Game.Interactive = false;
if(Game.PrevScene == "Obzorye_Island-Svitava_Complex-Main_hall"){
actor.SkipTo(458, 762);
actor.Direction = DI_UP;
actor.Active = true;
actor.Talk("inventory-08-special-02");
}
else if(Game.DebugMode){
actor.SkipTo(516, 723);
actor.Direction = DI_DOWN;
actor.Active = true;
actor.Talk("The scene has been chosen as the startup scene in the debug mode...");
}
Game.Interactive = true;
Moreover, when I set the scene B as the debug startup scene, it works well too.
I'm really confused. I'll be very glad if anyone give me advice