How to create a Custom event in C++? UE4

I want to create an event in C++ which will be called many times under the C++ code obviously, and if Possible please tell me how to use the sequence in C++? or it just calling functions after one another?

The visual example is:

Custom event is simply a new function in C++. Just declare it in .h and make implementation in .cpp


void MyFunc();


void MyClass::MyFunc()

Parameters go into the brackets, and you can have a return type instead on void too.

And sequence in BP is just for visual convenience. In c++ just call functions one after another.


Thank you for explaining in details Sir .

1 Like