What Am I Doing Wrong?

Good evening everyone,


I don’t understand what I am doing wrong here. I’m trying to generate random consumer actions, and I have spit the random index found into a string. A red Print and a Green print before it actually sets the struct again.


However, if you see in the second screenshot, the string is changed before that even happens, by no set deviation it appears…sometimes it does not even output a green number! What is causing a difference when I’m only grabbing a random integer once?!

Hey @kiantheskorpion

could you try to save your RandomInteger as a variable (e.g. MyRandomNumber) in this blueprint and then use this variable as your string input. Because in your case you are using RandomInteger multiple times.