Construction Script in C++

Hi,

I’d like to extend a C++ class in Blueprints, but I would like some of the C++ constructor to re-run much like the Blueprint construction script is, but I do not know which function to override.

Eg.:
Suppose I have an Actor and add it to the world. Everytime I edit this actor by adding or editing components, my construction script re-runs again. Now instead of extending from Actor, I’d like to extend a middle-man class MyOtherActor which is made in C++ and I would like to run part of this code everytime the blueprint’s construction script is run, but I can’t seem to recreate this functionality. Can you help?

I hope its easy to understand my question. Thank you for all the help!

OnConstruct

That was it, OnConstruction, and I didn’t see it in the docs. Thank you so much!