Time for action - debugging the patrol Flow Graph
Open the Flow Graph from the previous example or set up your own Flow Graph to debug.
To enable the Flow Graph debugging, click on the icon that resembles a bug, as seen in the following screenshot:
Each time that you enter the game mode with the debugger turned on, any of the Flow Graph outputs that are triggered within the level are highlighted in yellow. They will also display the number of times a port has been triggered. Finally, it displays the value triggered at each port, as shown in the following screenshot:
Note
Press the F and G keys to highlight the connections going in and out of a selected flow node. On large Flow Graphs, especially with tons of interconnected nodes, this can be very useful.
Reset the debugger using the trash icon next to the debug icon.
What just happened?
The visual debugger can be invaluable when the Flow Graph is not reacting as you would expect. It can also be useful to use while actually designing a graph to...