Loading scene doesn't work via dialog system
Posted: Thu Jun 03, 2021 3:01 pm
Hello again!
I am trying my best to understand this issue, I've been testing a lot but it doesn't add up.
In the game, there is an object that is used to teleport to other scenes. I am using the Dialog System to offer a choice for the player: save your game or teleport to a place. Like the tutorial explains, I put a LoadLevel LUA command in the Sequence window of the node Teleport of my Dialog. When the player chooses teleport, it is loading in the new scene (Teleport_Scene_A) at the checkpoint (Spawn_Point).
However, when the player is launched in the new scene, the level tries to load itself at every frame and it is impossible for the player to move, as the game screen flickers indefinitely.
What's weird is that I tried with a scene portal (like your tutorial on your Youtube channel) and it works great... but for the game, we need to interact with an object in order to teleport...
How come the scene seems to load it self at every frame like that?
Thanks in advance!
I am trying my best to understand this issue, I've been testing a lot but it doesn't add up.
In the game, there is an object that is used to teleport to other scenes. I am using the Dialog System to offer a choice for the player: save your game or teleport to a place. Like the tutorial explains, I put a LoadLevel LUA command in the Sequence window of the node Teleport of my Dialog. When the player chooses teleport, it is loading in the new scene (Teleport_Scene_A) at the checkpoint (Spawn_Point).
However, when the player is launched in the new scene, the level tries to load itself at every frame and it is impossible for the player to move, as the game screen flickers indefinitely.
What's weird is that I tried with a scene portal (like your tutorial on your Youtube channel) and it works great... but for the game, we need to interact with an object in order to teleport...
How come the scene seems to load it self at every frame like that?
Thanks in advance!