Thanks! The code works! You are an absolute legend! I hope that one day, when my game is done, i can put you in the credits! Unreal engine however, does give this error code: “Blueprint Runtime Error: “Attempted to access NODE_AddBP_Weapon_Component-0_0 via property CallFunc_Array_Get_Item, but NODE_AddBP_Weapon_Component-0_0 is not valid (pending kill or garbage)”. Node: Destroy Component Graph: EventGraph Function: Execute Ubergraph BP First Person Character Blueprint: BP_FirstPersonCharacter”.
I could not find the Validated Get Node, CAn you explain to me step by step how te get it and how to store the current weapon into a variable? Thanks for all the amazing work!
1 Like