Hello everyone. I am working on a 3rd person game with a very simple weapon system. The player can only have one weapon at a time. When the player finds a weapon “pickup”, that “pickup” calls an event “SwitchWeapon” (which is located inside the player blueprint) that destroys the current weapon, and replaces it with the new weapon. It works however the problem is that I have a mess of booleans, and I know there has to be a more efficient way to do this. Anyways, here is what I have so far. Any help would be greatly appreciated.
The Class is the only difference in your whole Setup. Why dont you simply pass the Class you want to Spawn to your SwitchWeapon Event? Or any other info you might need like the SocketName.
■■■■, in hindsight that was easy…thank you sir!