I have no experience with C++, so I was wondering how hard it would be (or if it’s possible at all) to convert a couple custom events I have made in my characters blueprint to C++. Ideally I would like to call on the custom events In my blueprint as if it were still made in the blueprint but just have a C++ script do the grunt work?
For example:
Blueprint calls “Player Takes Damage” then the C++ script would deal the damage.
or
Player starts running and the C++ script would deal with a stamina system.
Just to get you started you need to create a new C++ class (in this example i named the class SuperHeroCharacter) with the parent of Character. Then in the SuperHeroCharacter.h file you need to add