# How can I create Custom events for UObject?

**URL:** <https://forums.unrealengine.com/t/how-can-i-create-custom-events-for-uobject/283890>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 21, 2014, 9:07am UTC](https://forums.unrealengine.com/t/how-can-i-create-custom-events-for-uobject/283890 "2014-05-21T09:07:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [May 21, 2014, 9:38am UTC](https://forums.unrealengine.com/t/how-can-i-create-custom-events-for-uobject/283890/2 "2014-05-21T09:38:34Z")

</div>

#BlueprintImplementableEvent

#Instead of this

```
UFUNCTION(BlueprintNativeEvent, Category = "Magic")
    void OnLaunch();

```

and I give it some default implementation:

```
void UWolfdaleSpell::OnLaunch_Implementation()
{
    if (GEngine != nullptr)
       GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Yellow, TEXT("Default OnLaunch implementation"));
}

```

#Do This

```
/** LAAAAAAUUUUNNNCH! */
UFUNCTION(BlueprintImplementableEvent, meta=(FriendlyName = "Do The Happy Happy Launch"))
virtual void OnLaunch(FVector LaunchVelocity);

//there is no .cpp implementaiton

```

#Do Note this is .h only, no .cpp!!

**You don’t need or ever use a default implementation with BlueprintImplementableEvent!**

#Still Call the Event in Code

```
//.cpp to trigger BP event
    this->OnLaunch(TheLaunchVelocity); 

//this-> is my personal syntax to know it is BP Event

```

#Parameters

I’m just showing you that you can send data to the BP from CPP, you dont have to include the LaunchVelocity parameter

* * *

#My Wiki Tutorial

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

_[View the full topic](https://forums.unrealengine.com/t/how-can-i-create-custom-events-for-uobject/283890)._
