Random Joke Generator?

I currently am making a project where I have several games (Chess, Pong, and others) within the project file (as different levels). I would be able to initiate any of the games by the main menu.

This game I want to add is a random joke generator. I have a lot of jokes and want to add it in. Anybody have any ideas on how to program this? (This is for a university class).


just joking :wink:

Assuming you’re using blueprints, you probably want an array of strings (the jokes).

Everytime you want a random joke, just use a shuffle node on the array and grab the first joke.

I figured it out. If anyone wants my final class project executable, let me know.