A Graph Token is a variable that is used for storing values and then re-using those values within the same graph.
These tokens can be used for performing simple logic manipulations and checks within the flow graph script.
Graph Tokens in the Flow Graph Editor share many similarities with Game Tokens. They can have the same types of variables set and even appear under the CVar command gt_show=1 along with the rest of the game tokens.
|It's important to understand that unlike Game Tokens, Flow Graph Tokens can only be used locally to a single flow graph.|
They are typically used to communicate different variables across a very large graph and to reduce the need for extra flow node connections.
In this tutorial, we will create our own Graph Token that checks if the player has spawned into the game or not. We will then use a check to see the value of the Graph Token and display that value to the screen.
You can also use Browse button to selected the saved Token.
It's checked on start (in the same frame) and the value is seen as 1 using the game token debug view gt_show=1.
5. In the console, type "gt_show=1" and switch to game mode to see the token value change.