How to call Do once(blueprints)in c++?

which class is the Doonce inherit from ? should I need to call that in c++?

Good question, did you get a solution?

It’s just a boolean that is set and checked.

for example.

if (!opendoor) {
opendoor = true;

//do opendoor code once here 


//do other code here
// and here
// now lets reset opendoor so it can be called again
opendoor = false;