Creating an Enum with just flowcanvas?

FlowCanvas Forums Support Creating an Enum with just flowcanvas?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #775

    I’d really appreciate some guidance on how to create an enum with flowcanvas.
    I created and used them frequently for more visual flow control in states in Unreal Engine 4, however there you just created enums via the interface, and from what I’ve searched it looks like enums are more commonly created in script. Would you need to set something up in the onawake event?
    (I’ve tried adding enum related types to the editor but not sure of the right process to create them as this is something outside of my experience).



    Creating an enum for use in FlowCanvas can be done in code and is not possible through the interface.
    Creating an enum though is very easy. Here is an example:


    Then to use this in FlowCanvas, you simply need to add it in the Preferred Types Editor:
    – Open up “Tools/ParadoxNotion/FlowCanvas/Preferred Types Editor”.
    – Search “MyEnum” at the top and add it in the list of types with the + button.

    Finally, to branch the flow based on an enum, you can use the Switch Enum node (Flow Controllers/Switchers/Switch Enum) and select your enum you want to switch upon with the relevant “Select Type” button in it’s inspector. In this case, MyEnum.


    Let me know if this works for you.
    Thanks 🙂

    Join us on Discord:

    You must be logged in to view attached files.

    Yep that worked perfectly, thanks a ton for the clear and thorough instructions :)!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.