FlipFlop

Every time a FlipFlop node is executed, it toggles between the two output pins: A and B. There is a Boolean output parameter named Is A. If the parameter Is A is True, then it indicates that pin A is running. If it is False, then pin B is running.

The following screenshot shows an example of the FlipFlop node. If the player is using dual wield pistols, then when they fire, only one of the pistols fires. In the next shot, the other pistol fires. Fire Left Pistol and Fire Right Pistol are custom Macros that are being used to simplify this example:

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

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