DoOnce

The DoOnce node executes the output pin only once. If it is triggered again, then its output pin will not be performed. The Reset input pin needs to be triggered to allow the DoOnce node to run the output pin again.

The following screenshot shows an example of its usage. When the player presses Space Bar, the DoOnce node is triggered, and a charged weapon is used. After that, a timer is created to execute the Full charge Custom Event that resets the DoOnce node after 30.0 seconds. If the player presses Space Bar again before 30 seconds have elapsed, then the DoOnce node will not execute its output pin:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset