Hey, I’m creating a basic zombie wave game where you start in a main menu level, from here you have 3 options. Training, survival and loadout.
My weapons are child blueprints of a master weapon actor so I can set each one different damages etc… etc…
For my training level you get given a default gun where I spawn the actor from the level and everything works as intended.
Now I’ve moved onto the survival level and ran into a problem. From the main menu I want you to be able to select the gun that you want from the loadout screen and when you launch the survival map you get spawned the gun you selected.
I thought I could just make an actor array and add every child gun actor to that list as a default value. But when I tried that I couldn’t change the default values of the actor array variable… probably because I need a reference to a spawned actor
Is there another way to set the default values? Or would I have spawn in every child gun actor to get a reference?