I hadn’t so much success in my last post: https://forums.unrealengine.com/showthread.php?89848-Issue-with-Weapon-Inventory
So at this point i’m gonna ask you how to create a Weapon inventory for a Player in the game.
Let’s pretend we want to implement these weapons:
So, I’d like to realize a system for EVERY PLAYER: everyone is gonna have his own weapons (once the player picks them up).
Every weapon has its own characteristics, such as:
-Name (e.g. “Minigun”)
-Damage (e.g. 5 per hit)
-Fire Rate (e.g. 2 seconds of delay between a shot to another)
Also, any weapon has its own PrimaryFire Animation, SecondaryFire Animation.
In “pure” C++ I made this “simply” creating a linked-list.
But in Unreal Engine, C++ is very dirty.
So I’m gonna do this with BluePrints.