I’m using ‘switch on’ for a enumerator. When the player clicks on ‘unlocks smg’ the weapon is spawned, and then I add ‘smg 1’ to the skill structure array. The structure has two variables, ‘skillEnum’ and ‘name’. I need to change this values after adding ‘smg 1’, but I don’t know how. The way that it is now, after the player clicks ‘smg 1’ nothing happens and there is no text associated with it.
I think you need to show what is before the switch.
I see where you add SMG1 to your array; however, what is causing the Event, or whatever, to re-run such that your switch can choose a different path?
