# AnimMontage and AnimNotify Callback to Code

**URL:** <https://forums.unrealengine.com/t/animmontage-and-animnotify-callback-to-code/3405>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [April 28, 2014, 9:08am UTC](https://forums.unrealengine.com/t/animmontage-and-animnotify-callback-to-code/3405 "2014-04-28T09:08:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [April 28, 2014, 8:09pm UTC](https://forums.unrealengine.com/t/animmontage-and-animnotify-callback-to-code/3405/4 "2014-04-28T20:09:04Z")

</div>

Dear IndyGoof,

I have anim notifies that call C++ that are played via anim montages, for all of the sword swing rainbow ribbon effects in my game.

Here is the setup I use:

 ![animnotifycpp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/7/e7fe7bb71e2270a4f7d11be4fd506c7afc788349.jpeg)

1. Must have a **custom anim blueprint class** , I have wiki tutorial on this here:

**Wiki Link**

> **[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 — https://unrealcommunity.wiki/! You will be able to find content from...

1. in custom anim blueprint class, have the C++ functions / functions that call other functions in your game code structure

2. in the anim BP event graph, have the anim notifies call the C++ anim BP functions

3. DONE!

🙂

PS: Another Custom Anim BP Wiki of mine:

**Wiki Link**

> **[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 — https://unrealcommunity.wiki/! You will be able to find content from...

---

_[View the full topic](https://forums.unrealengine.com/t/animmontage-and-animnotify-callback-to-code/3405)._
