I am currently making a local multiplayer game where multiple controllers will be linked to one computer (so, no online play). In this, each player will select a character, and then once all have picked, the game will begin on a new layout with the player being able to control the correct character.
The problem I'm having is getting that information about what character was selected from the character screen to the actual game without making a ton of variables. I've been trying to use an array to do this, however, the array for whatever reason is only returning 0. Every time.
I'm looking in debug, and the character is not being added as it should. Whenever I try to modify a value myself through debug, it just changes back to 0 again. This array is not empty either - it has 6 elements. (6*1*1)
This here is all my code related to it.
Does anyone know why this is happening?