-
Notifications
You must be signed in to change notification settings - Fork 241
Getting Started
Krzysiek Justyński edited this page Aug 17, 2022
·
9 revisions
There's a separate repository including a sample single-player project called FlowSolo, so you can easily check how this plug-in works. It includes
- Flow plugin
- Additional C++ Flow nodes, as
FlowQuest
plugin. - Simple map with a few Flow Graphs.
- Unpack the plugin to the Plugins folder in your project folder. If you don't have such a folder yet, simply create it.
- First of all, open Project Settings in the editor. Change
World Settings
to theFlow World Settings
class. Restart the editor. That class starts the Flow assigned to the map, just when starting the game. So it serves as a replacement for BeginPlay in the level blueprint. - You can assign Flow Asset to the map via the Flow toolbar above the main viewport. Assigning it directly via the World Settings editor window also works.
It's crucial to perform Step 3 after Step 2. Otherwise, a reference to the Flow Asset might be improperly saved in the map and wouldn't work. If that happens, just try to revert your map. And assign the Flow Asset again.
You can include this plugin repository as a dependency. It can be done by using Git submodules.
git submodule add -b 5.0 https://github.com/MothCocoon/FlowGraph.git Plugins/Flow
- Subsystem Browser plugin works really well with Flow Graph, as it displays runtime data of subsystems i.e. Flow Subsystem.
Got any questions? Discuss things related to the plugin on the dedicated Discord server.