Menu
Lumberyard
Legacy Reference

Flow Graph Scripts

Flow Graph is deprecated and will be removed in a future version of Lumberyard. Learn about Script Canvas, Lumberyard's new visual scripting environment.

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn about the latest features, see the Amazon Lumberyard User Guide.

Flow Graph scripts are organized into four different categories, and contained in the Graphs folder tree in the Flow Graph Editor.

Level Flowgraphs

This directory contains script files that are specific to the level that is currently open, and is organized as follows:

  • Entities – Entity files are the flow graphs created and associated with an entity that has been placed in the level.

  • Components – Component files are the flow graphs created and associated with a component that has been placed in the level.

  • Modules – Modules that are specific to the level that is currently open.

Global Flowgraphs

  • UI Actions - Used to encapsulate UI logic for easy debugging and maintenance.

Flow Graph Prefabs

Using Flow Graph, you can communicate directly to and from a prefab instance just like an entity by using prefab events. Simply create an event inside a prefab, give it a name, and then reference the prefab instance as you normally do for an entity.

External Files

These are Flow Graph scripts that have been imported.