This may be above the comfort level I'm at with code right now. If so, I can save it for later. I have dialog where the player can agree to look at something. If they refuse, the dialog goes to an exit conversation. If they accept, the game switches to what they're supposed to look at, then goes back to the exit conversation.
Setting up the dialog was fine, but I used a room as the thing they're supposed to look at so they can interact with hotspots within it. How do I tell the game to move on to the exit dialog when it switches back from that room?
Do I have to set up a variable for what just happened, then tell the room to check for it and immediately run the exit dialog if true? The player can look at that thing whenever they want after that without any dialog, so there has to be a way for the game to know to only trigger the exit dialog this one time.
The bigger question would be if there's a simpler way to do that kind of insert without switching to another room, like opening a full screen gui? Like if I want the player to look at a painting and be able to click on different hotspots on it up close to display info, can that be done with a gui or are hotspots only a room thing?
I'm not being specific because I need to learn the concepts so I can apply them to other situations I know will be similar. I don't want that derailed by focusing too much on what I happen to be doing in this one specific instance. Thanks!
Setting up the dialog was fine, but I used a room as the thing they're supposed to look at so they can interact with hotspots within it. How do I tell the game to move on to the exit dialog when it switches back from that room?
Do I have to set up a variable for what just happened, then tell the room to check for it and immediately run the exit dialog if true? The player can look at that thing whenever they want after that without any dialog, so there has to be a way for the game to know to only trigger the exit dialog this one time.
The bigger question would be if there's a simpler way to do that kind of insert without switching to another room, like opening a full screen gui? Like if I want the player to look at a painting and be able to click on different hotspots on it up close to display info, can that be done with a gui or are hotspots only a room thing?
I'm not being specific because I need to learn the concepts so I can apply them to other situations I know will be similar. I don't want that derailed by focusing too much on what I happen to be doing in this one specific instance. Thanks!