Do N

The Do N node allows you to specify how many times the output pin can execute. After the number of executions has completed, the Actions of the output pin will only be executed again if the Reset pin is triggered.

In the following screenshot, the player can press Space Bar to fire a special weapon. After the third shot, they need to press the R key to reset the Do N node in order to be able to fire three more times:

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

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