Custom "Weapon" Class not appearing

I’ve been trying to make a custom weapons class in C++. Just as an FYI I’ve done some c++ before but never in Unreal so I’m quite new.

I’ve looked at a couple tutorials and think I’ve got it set out how it should be, but when I go to create the blueprint in the editor it doesn’t show up. Could you let me know what I’m doing wrong. Everything runs as it is, even with some things underlined in red (not quite sure why they are underlined)

Thanks :slight_smile:

Hi @CaseyJo_ -

It probably needs to be set up as a blueprintable object.

UCLASS(Blueprintable)
class AWeapon : public AActor

That should indicate to the editor that you can create a blueprint realization of the class.

Godspeed developer

How do you try to create the blueprint? In the Content Explorer you should See your c Files, Just right click it and create blueprint Child from there