Skip to end of metadata
Go to start of metadata

How do you use breakpoints?

It may be hard to understand at first just exactly what a Breakpoint contributes beyond freezing your game and letting you know that a port fired off. Looking closer in the Breakpoint Tree, though, we can see that we are also rewarded with the exact information fired at that point. Gathering these facts together lets us see the execution order of our graph and makes it easier to find improper data being passed down through the ports.

Adding Breakpoints

  1. Add a Math:Equal node and check for the value of 95 to be the breakpoint trigger. Add a Breakpoint by right clicking on the port and select Add Breakpoint. Be aware that you will need Debugging turned on as well.
    In our case, the Breakpoint will fire when it hits 5.
  2. Jump into the game; this should not trigger anything until you have reached the countdown of 95 and thus had the game pause to investigate the specific point that fired. You'll see the game freeze in the viewport and the Breakpoint will be set to "True" in the Breakpoints panel of the Flow Graph Editor.
  3. Keep in mind that you can clear a single instance to remove a Breakpoint by right clicking on a single port. In this same menu you can also clear all associated with the graph.
  4. The last point to keep in mind is that you can have very complex graphs that have multiple breakpoints down the tree. An easier but not so noticeable way of sorting those is through the Breakpoints tree panel in the bottom right of the Flow Graph tool.

 

Step 1.1

 

 

Step 1.2

 

 

Step 2

 

 

Step 3

 

 

Step 4

 

 

 

 

  • No labels