I have a game, and I could not find out how to make a new variable with blueprints, if needed. What I mean by this is if I had an integer storing data, and I needed a new integer when a user presses a button, how can I create a variable after the game already started? I do not want to have a bunch of blank variables.
You could use an array, There’s no way to change class structure on runtime, but arrays are dynamic.
Ok, thanks! I made an array, but how can I get each number in the array as a different integer (list of integers)?
What if you used a local variable in a function?
thanks, that’s what I wanted
But what if I wanted to find a spisific number in that set (for example I wanted to get the 4th number?