How do I create a Custom Event in C++?

Good catch! I needed to add your class name into the example code above. Thanks for bearing with me - let’s try this code instead!

Header file:

public:
	UFUNCTION(BlueprintNativeEvent, Category = "DmgSystem")
	void TakeDmg(int32 Damage);

Source file:

void AUltimateTutorialsCharacter::TakeDmg_Implementation(int32 Damage)
{
// your code here
}

I just gave that code a quick test compile against 4.2 - let me know if it works for you! :slight_smile: