Working with Corgi, and Checkpoints.
Posted: Mon May 09, 2022 5:22 am
I am using corgi engines checkpoint system. But I'm having trouble resetting the conversations on loading those checkpoints.
If anyone has experience with this it would help a load.
What I mainly am trying to figure out is to be able to reactivate conversations based on what checkpoint I load. So that even if the convo has been ran and disabled. If the player dies the cut scene will be able to be ran again. I am trying make it work where depending on the checkpoint that's loaded, specific things are reset to there initial setups.
Another problem I'm having with it, is I'm trying to use corgies restart() command but through the conversation tree. Basically one of the cutscene options requires that you start back at the beginning of the level if you select it. But when I try and run that code through the dialogues event thing, the screen just freezes in the dialogue UI. I'm sensing that the event call happens before the UI has a chance to close and it's causing that issue. If that's the case, how would I get the code to be ran after the UI closes? Or is there a more elegant solution?
If anyone has experience with this it would help a load.
What I mainly am trying to figure out is to be able to reactivate conversations based on what checkpoint I load. So that even if the convo has been ran and disabled. If the player dies the cut scene will be able to be ran again. I am trying make it work where depending on the checkpoint that's loaded, specific things are reset to there initial setups.
Another problem I'm having with it, is I'm trying to use corgies restart() command but through the conversation tree. Basically one of the cutscene options requires that you start back at the beginning of the level if you select it. But when I try and run that code through the dialogues event thing, the screen just freezes in the dialogue UI. I'm sensing that the event call happens before the UI has a chance to close and it's causing that issue. If that's the case, how would I get the code to be ran after the UI closes? Or is there a more elegant solution?