Sandbox 2 Manual
ContentsIndexHome
PreviousUpNext
Creating and managing Flow-Graphs

Creating and managing Flow-Graphs

 

 

Creating a new graph

Graphs always belong to a specific entity and are stored as a property of the entity. When the entity is saved or exported the graph belonging to it will always be saved automatically. To create a new graph on an entity, select the entity and scroll down to the property tab called ‘Flow Graph’. There are three buttons: ‘Create’, ‘List’ and ‘Remove’. Click the ‘Create’ button to create a new Flow-Graph. 


 

A new window will open, asking you to enter a group name for the graph. Enter a name and click ‘Ok’. This will create the new graph and put it in the group automatically. 


 

The graph overview window will show the new graph and open it automatically. By right-clicking a graph icon in the overview window a context menu will open with additional options to edit the graph.

Deleting a graph

There are three ways to delete a graph from the level. Since a graph belongs to an entity in the level the graph is always removed if the according entity is deleted. That means removing the graph entity will delete the graph with it. Additionally graphs can be removed from the entity using the graph context menu or the button in the rollup bar. 

Deleting the graph by deleting the graph entity: 

Simply select the entity select ‘Delete’ from the ‘Edit’ menu. 

Deleting the graph without deleting the graph entity: 

In the graph overview window right-click on the graph to be deleted and select ‘Remove Graph’ 

OR 

Select the graph entity and click ‘Remove’ in the ‘Flow Graph’ tab in the properties of the entity. 


Renaming and re-grouping graphs

The name of graph is always the name of the entity it has been created on. When the name of the entity is changed the name in the graph overview window is automatically changed. The context menu of a graph has an option to move the graph in a different group. 

First, Right-click on the graph and select ‘Change Folder’. If no groups had been created before you will now be prompted to enter a new group name. Enter the desired group name and confirm it by pressing Return or clicking on the ok button. If one or more groups already exist in the level, a new window will open up in which you can select the group you want your graph to be placed in. Select the group and click ‘Ok’ to confirm, or select ‘New’ to open the group creation window to create a new group as described above. 

.

Disabling and enabling graphs

Graphs can be disabled by right-clicking the graph in the graph overview window and selecting ‘Disable’. The disable graph will be shown as crossed out, which means that the nodes inside will be ignored when the game is running. The ‘Enable’ function in the context menu of the graph activates the graph again. 



To disable all graphs in a group right-click on the group folder in the graph overview window and select ‘Disable All’. The selection of ‘Enable All’ will mark all graphs in the group as enabled again. When a level is exported while some graphs are still disabled they will not work in game as well. 

Copyright © 2008 Crytek GmbH. All rights reserved.