I want to create an event in a components which I can implement in a blueprint, but I can’t seem te get this working. Searching on this forum I found pretty old topics stating this was not implemented, but being worked on, so I assume it is possible by now. I feel like I’m missing something very obvious.
Here is my code:
UCLASS(meta = (BlueprintSpawnableComponent))
class LEVELDOWN_API UAbility : public UActorComponent
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintImplementableEvent, Category = "Ability")
void OnAbilityUsed();
};
When I attach this component to my character, the event doesn’t show up in the right click drop down in the blueprint. Can somebody point me out to what I am doing wrong?