ops my bad, I thought this was CPP section.
What I was trying to say is you can just have a variable that holds what type of Actor you want to spawn.
just drag off the pin from SpawnActor called class and type promote to a variable.
now all you need to do is reassign that variable if you want a different weapon to spawn and re-run that spawn function again.