I'm making a game and I want to add an event that chooses a random piece of dialogue from a list of options and then puts it on the screen after a certain time. For example, a random dialogue box would pop up every 10 minutes.
Develop games in your browser. Powerful, performant & highly capable.
Use a timer behavior. Spawn dialogue on timer complete, reset it back to 10 minutes on any input.
Also you can use dictionary or array and call it by YourDialogs.At(int(random(0,10))) or something.