Help with restaurant simulation "quest" system

Hello everyone,

I’m making a restaurant simulation game and I have no idea on how to make the customers order food.

So, I have AI characters that reaches the table and take a sit. Every table already has a number as a variable. What I want is that, when the player interacts with them, it opens a quest like panel where they simply tell what they want to order and the player clicks on a “Take Order” button.
I have a data table with all the items they can “order”, my problem is that I do not know how to make the AI character choose random items from that data table, add them to the quest panel and also add them to the player’s quest log.

Any help would be appreciated. Thanks!

For now, in order to simplify it greatly, you could try this in the AI customer BP:

You will need to add more script, ofc.


Later on, once you feel more comfortable with BP communication, consider handling such behaviour in a dedicated manager actor. Technically speaking, neither the player or the AI customers should be interested in creating orders, handling widgets, and shoving data along. It should be the restaurant itself that does it - so it’s handled in one BP rather than in every customer.

Thank you! This got me pretty close.

Now my problem is…how do I store multiple orders in the player’s “quest log”?

Have a vertical box, add orders there.

  • in the log widget:

image

  • someplace else - where the entries are created:

image

Admittedly, this can be organised in many ways.