Announcement

Collapse
No announcement yet.

Hit component is firing too many times so I added a do once and now it only works once

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

    Hit component is firing too many times so I added a do once and now it only works once

    I am trying to get some dialogue to show up when I bump into an object. When I do, it calls the show dialogue too many times.

    I then added a do once to have it only work once. It solved the problem of firing to many times.

    But then when I bump into it again, it doesn't work.

    I have tried adding in a boolean variable to and setting the boolean right after the do once and at the end again. That doesn't work. I have also tried a branch.

    Here's my code. Does anybody have any suggestions?

    Click image for larger version

Name:	Screenshot (81).png
Views:	34
Size:	93.6 KB
ID:	1765444

    This also did not work

    Click image for larger version

Name:	Screenshot (83).png
Views:	21
Size:	169.5 KB
ID:	1765445

    #2
    You need to reset the DoOnce with a second event, that is called right at the end of the 'Completed' Pin.

    Comment


      #3
      I tried taking the entire chain and wrapping it back to the reset and that didn't work..

      Comment

      Working...
      X