Thank you for this! Would Enums be good for something like a card game or board game to identify what phase you're in? Like draw phase or battle phase?
Yeah absolutely so it would work very similarly to how I use my Conditions with the Pokemon Clone in the sense you would set the new condition after every phase of the boardgame and then do something depending on what the condition was set to. So this could be Player rotation, Like you said Draw Phase/Play Phases. Theres a ton of applications for Enumeration in a card/board game :)
It should be a standard node straight out of the box. Maybe worth trying to untick the context filter when you search for the = Enum node? But in all honesty you shouldnt need to do that and it will bring up a lot more not relevant things. Does it bring up anything else?
So i wouldnt use Enumeration to get a random name. I would say a Integer with a Map of name would be better and then id get a random integer from range and the do a find of the interget with map and then get the name value that is associated with that integer
Oh my, somebody actually explaining things???? This is my first problem with UE tutorials. Nobody explain this. Is just "Retype what I do"
Im glad you find these tutorials useful 😁
Thank you for this! Would Enums be good for something like a card game or board game to identify what phase you're in? Like draw phase or battle phase?
Yeah absolutely so it would work very similarly to how I use my Conditions with the Pokemon Clone in the sense you would set the new condition after every phase of the boardgame and then do something depending on what the condition was set to. So this could be Player rotation, Like you said Draw Phase/Play Phases. Theres a ton of applications for Enumeration in a card/board game :)
Good stuff thank you! Question these seem similar to the structs. What would be the difference in the two or when to use one over the other?
So Struts you can have multiple types of variables stored in one Variable. Where as Enumeration is more like a list of names/values
@@ue5bpguru538 Thank you!
Anyone know why in my project, I don't have the Equal (Enum) node to choose as shown in vid? Is there some special plugin ?
It should be a standard node straight out of the box.
Maybe worth trying to untick the context filter when you search for the = Enum node? But in all honesty you shouldnt need to do that and it will bring up a lot more not relevant things.
Does it bring up anything else?
@@ue5bpguru538 I restarted the editor and it just magically appeared, no idea why
For example on a list of names how would one get it to put out a random name
So i wouldnt use Enumeration to get a random name. I would say a Integer with a Map of name would be better and then id get a random integer from range and the do a find of the interget with map and then get the name value that is associated with that integer
EnumERation, not Enumation :)
Well spotted i should change that 😅