If you encounter such references errors:
You will need to fix some nodes with their connections.
This is a really easy step detailed just below.
Set your character class in BFL_WeaponForge:
Open "BFL_WeaponForge" and its function called "CastToCharacterClass". From there you can change the castTo node to your own character class.
(Don't forget to change the output pin variable's type to your class, and to connect it to the castTo node).Â
Fix references errors and wrong variable types:
Still in "BFL_WeaponForge", open its function called "SetAndEquipNewWeapon". From there you can change the Set variable type to your character class and update the broken references as shows in the gif.
Fix some more broken references:
Still in "BFL_WeaponForge", and its function called "SetAndEquipNewWeapon". Update the broken references as shows in the gif.
In "CurrentBP_Firearm":
Still in "BFL_WeaponForge", this time in its function called "CurrentBP_Firearm". Update the single broken reference as shows in the gif.
Last broken reference:
In "BP_Ammunition", in the Event Graph. Change the Set variable type and update the broken references as shows in the gif.
You are now all done with fixing the references errors!