Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Click image for larger version

Name:	1.png
Views:	1
Size:	257.1 KB
ID:	1168601


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

    #2
    Good question, did you get a solution?

    Comment


      #3
      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;

      Comment

      Working...
      X