I’m new to Unreal Engine and I am following this tutorial series https://www.youtube.com/watch?v=6A8XQSB7o4o, to get more familar with it. I have done a bit of C++ programming in the past but Unreal is completely new to me. I have managed to solve other issues myself e.g. the new input system but this issue I can’t solve at all. The only difference is I have done this project in Unreal 5.1, and the tutorial was made for 4. Is there something that has changed that means this is no longer possible or there is a different way of doing it?
Hi stef_leggy,
A few more details would be handy:
- what blueprint is this in?
- at what time in the video is it mentioned?
The blueprint is an event graph, the blueprint itself is for a base weapon blueprint. This has a static mesh but it is not assigned, so that another weapon e.g. a sword, axe, dagger etc. could inherit from it. Those weapons can be placed in the scene and when the player collides with them, they can be placed on a socket. That part of the blueprint is to see if a weapon is already assigned to a socket and if it should be swapped out with another weapon. It starts from 13:50 and the bit that doesn’t work for me is around 17:05
I solved my issue. In the video it was never explained that a DefaultWeapon c++ class was used to create a blueprint class from which the blueprint inherits from.
