How to make multiple random numbers to choose from

Started by Thebetter_choco10 on

Topic category: Help with MCreator software

Active 1 year ago
Joined Oct 2022
Points:
420

User statistics:

  • Modifications: 0
  • Forum topics: 13
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
How to make multiple random numbers to choose from

I am making the radio from fallout 4 in mcreator, I made it so when you hit a button it will set local variable string to random number between 1 and 3, then under neath are three if then statements, they both say if string local variable = to 1 then it plays a song, I tried it in game and it dosent work

Active 1 year ago
Joined Oct 2022
Points:
420

User statistics:

  • Modifications: 0
  • Forum topics: 13
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
correction they are actually…
Sun, 01/22/2023 - 06:52

correction they are actually local number variables