How to use enum to control state machine(locomotion)

I have created an enum name EClimbingstate and exposed it to blueprint. I am trying to use enum as a replacement for boolean to switch between different states in locomotion.


Is there anyway that i can make this happen?

Im not sure but i think the best way would be to have that switch on enum drive a bool. so

normal sets normal to true, and climb and grab to false, climb sets normal and grab to false and climb to true etc

the alternative would be to use == so

if enum == normal then do X
if enum == climb then do Y

All of this is just a way of "rephrasing the bool though i think regardless of how you arrange it it will end up being a bool at some point along the line.

Why do you want to remove the bool?