“Weapon object reference is not compatible with self object reference”
Im following a tutorial: Battle Royale Game Tutorial - Unreal Engine 4 - #2 - YouTube
The problem occurs at 17:41 when linking “as weapon” to “target”
“Weapon object reference is not compatible with self object reference”
Im following a tutorial: Battle Royale Game Tutorial - Unreal Engine 4 - #2 - YouTube
The problem occurs at 17:41 when linking “as weapon” to “target”
Open the Give to Player function and ensure that the Target pin has the correct type, presumably the parent class of weapon.
@Everynone
I’m not sure what that means, im very new sorry.
Also what about this “Gun Mesh” says error, i cant seem to sort it out when i look at the compiler results
Managed to put the give to player bp into the weapon bp, the Gun Mesh is no longer greyed out, however now the lower bp in the picture has an error with “Give to player” on the right. Also the “cast to weapon” still wont connect to “give to player”, as weapon to target self
HOLY MOLY, MOTHER OF GOD!
im an idiot, i put the bp in the child bp!
its all connected now!
THANK YOU!
That was a bad advice on my part, actually. I should have looked closer.
Give to Player event seems to belong to the weapon blueprint in the tutorial. You have put it in the character.
Gun Mesh - your character does not have one, it’s greyed out - where did you even take it from?