I have to add random text at the beginning of the scene Like Minecraft HOW DO I

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

A clear and concise description of what you are trying to do.

What is the expected result

Explain what should happen when you run the game.

What is the actual result

Explain what is happening instead, what is going wrong.

Related screenshots

Please include a screenshot of the full related events including both conditions and actions.
And screenshots to help showing us the issue.

Project files (optional)

Insert a minimal game showing your issue in a .zip or .rar.

At the beginning of the scene, choose a random number in a range(depending on how many possible texts you want to have), and save that to a scene variable. After that, check if the variable is a certain number, then set the text object to have a certain text depending on the number. hope that made sense. If you need more guidance let me know.

PS if you are going to submit a post please try not to make the entire question in the title, just a brief one, and since you are new, consider folloing the template that autogenerates. thanks

Make a scene array variable.

MyCoolArray:

  • 0: my cool text
  • 1: my other cool text
  • 2: and my other cool text
  • 3: and yet my other cool text

Events:

  • At the beginning of the scene
  • Change the text of MyCoolTextObject set to MyCoolArray[VariableChildCount(MyCoolArray) - 1]

oooh, i always forget i can use those