> For the complete documentation index, see [llms.txt](https://easy-event-manager.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easy-event-manager.gitbook.io/documentation/functions/on-event-called.md).

# On Event Called

{% hint style="info" %}
Make sure you have read the [Getting Started](/documentation/implementation/getting-started.md) Guide!
{% endhint %}

These are the events that get executed if an event gets called which the object is bound to&#x20;

<figure><img src="/files/JJHysjDh4qskByftqpta" alt=""><figcaption></figcaption></figure>

## C++ Usage

**Header file:**

```cpp
virtual void OnEventCalled_Implementation(FName Event, const FString& Message, UObject* Payload);
virtual void OnEventTagCalled_Implementation(FGameplayTag EventTag, const FString& Message, UObject* Payload);
```

**Cpp file:**

```cpp
void AMyActor::OnEventCalled_Implementation(FName Event, const FString& Message, UObject* Payload)
{
   //some code
}

void AMyActor::OnEventTagCalled_Implementation(FGameplayTag EventTag, const FString& Message, UObject* Payload)
{
   //some code
}
```
