Reply To: [FR] Enum creation?

FlowCanvas Forums Support [FR] Enum creation? Reply To: [FR] Enum creation?

#2791
elvisish
Participant

Sure thing, I understand, hehe! As for creating and removing enums, would it be possible to create them like fake types, kinda like how blackboard variables have lists and floats that can be created, modified, reordered and deleted entirely within the blackboard component? I’m not sure of the downside of creating them this way would be, but aren’t enums essentially just ordered lists that can be easily referenced on which “thing” is currently chosen? This way the type wouldn’t need to be added and, for example, you could just create your enum in the blackboard like you currently do a list, and then instead of getting/setting a weapon integer, you could get/set a human-friendly enum “thing”. I’d be interested to learn more about why this wouldn’t work as I must admit I still haven’t fully understood enums as much as I could!