Work with ActionFlow 2¶
You can author a whole Story Engine project in the Rule Editor and Inspector. With ActionFlow 2 installed, you can also open your Rules as graphs. Support is automatic; there is no separate integration to install.
Open a Rule in a graph¶
In the Rule Editor, select a Rule and choose Open Graph in the toolbar above it, or right-click its card and choose Open Graph. ActionFlow 2 opens the Rule's owning GameObject, with each Rule connected to its instructions.
You can also open the GameObject's graph directly in ActionFlow 2.
Use the view that helps with the task. The Rule Editor is useful for comparing many story moments. A graph is useful for following the steps inside a response.
What you can edit¶
The Rule root exposes its category, priority and criteria. Rename it with the pencil in the title bar. Its instructions use ActionFlow's connected instruction view.
ActionFlow's node picker can also create a Rule component. During Play Mode, highlighting begins at the Rule chosen by the Director and follows its instruction nodes.
The scene or prefab still owns the Rule. Save the owning scene or prefab after editing it.
If Open Graph is missing¶
Check that ActionFlow 2 is installed and Unity has finished compiling without errors. The action appears automatically when ActionFlow 2 is available. Story Engine itself remains usable without ActionFlow 2.
Visit the ActionFlow 2 documentation for its graph workspace, controls and editing guide.