I’m using Enum for player input and selection to change player states.
I have an issue where I want to press “X” on the keyboard so the player goes from Stand to Prone. - this works fine.
However, when i want to use the same “X” key to go from Prone to Stand, I can’t see a way to assign this to a different animation transition. - this is because the state I want to go to is just “IDLE/Move”
See below, the input action which is set up and also from the state machine, the ENUM set to allow the player to prone. However I don’t know how to reverse this.
hey @High500 thanks for the input. I was avoiding using Bool Variables but i take it that’s what you’re mentioning here? I guess a few bools aren’t too bad.
Thanks.
i would store the playerstate in whichever blueprint you are using to change the movement mode. you can just query it to allow you to change state or not
ive used a boolean to detect if character is prone or not. You could use a variable using your enum Playerstate
check the variable (you might use a compare node if you use your PlayerState) then perform the correct pose depending what the prone state is. make sure you set the variable each time to the new pose state as i have using the set node.