Hello, and good day. I wanted to request some help regarding this minigame I'd like to develop.
So it goes as a typical restaurant minigame. In any case, I'll explain: you, the player, as a waiter, have to attend customers. A customer will appear and they will choose an empty table. Once the customer is in their table, a timer should start running. If the player does not interact with the customer to take their order before the timer runs out, the customer will get mad and they'll leave.
However, if the player attends the customer, they will give a random order (I was thinking of having a menu of simply 6 dishes or so, to not make it too complicated). Then another timer should start; the player needs to put the order in the counter, wait for the dish and then pick it up. If the player delivers the dish before the timer runs out, the customer will eat and leave an amount of money (depending on the dish, since every dish has a different price). If the player takes too much time, the customer gets mad again and leaves.
I have a brief idea on how to event these customers, but I need help with them.
I've tried with different commands but my main problem lies on the timer and the interaction before the timer runs out. If I use a conditional branch to event what should happen once the timer runs out, I need it to be set on parallel processing, so the players does not have to interact with the NPC for this to start. However, this also applies to the "else" branch. In other words, I have problems to make the customer follow a certain command and stopping the timer WHEN the action button is pressed while also having the timer and the "I'll get mad and leave" event in case the timer runs out to be processed in parallel processing.
Thanks for reading in advance, I'll appreciate any help. Have a very nice day/night!
So it goes as a typical restaurant minigame. In any case, I'll explain: you, the player, as a waiter, have to attend customers. A customer will appear and they will choose an empty table. Once the customer is in their table, a timer should start running. If the player does not interact with the customer to take their order before the timer runs out, the customer will get mad and they'll leave.
However, if the player attends the customer, they will give a random order (I was thinking of having a menu of simply 6 dishes or so, to not make it too complicated). Then another timer should start; the player needs to put the order in the counter, wait for the dish and then pick it up. If the player delivers the dish before the timer runs out, the customer will eat and leave an amount of money (depending on the dish, since every dish has a different price). If the player takes too much time, the customer gets mad again and leaves.
I have a brief idea on how to event these customers, but I need help with them.
I've tried with different commands but my main problem lies on the timer and the interaction before the timer runs out. If I use a conditional branch to event what should happen once the timer runs out, I need it to be set on parallel processing, so the players does not have to interact with the NPC for this to start. However, this also applies to the "else" branch. In other words, I have problems to make the customer follow a certain command and stopping the timer WHEN the action button is pressed while also having the timer and the "I'll get mad and leave" event in case the timer runs out to be processed in parallel processing.
Thanks for reading in advance, I'll appreciate any help. Have a very nice day/night!