Stack-based Hierarchical Finite State Machine for UE4
A Finite State Machine allows you to create clean, maintainable 'non-spaghettified' code. With a stack-based hierarchical implementation, you are able to stack multiple states and remember what state you were in while having greater control in each state.
Declutter your Blueprint and C++ code with a stack-based finite state machine! This implementation of an FSM is based on the pushdown-automaton system. This has a benefit of remembering what state you were in when switching states using the Push and Pop system.
I've used this tool in my recent game project called Overthrone (see Game Projects tab), this system is the backbone of the player character and the enemy boss AI. And now, I've made this into a reusable plugin for any UE4 project for UE4 versions 4.22 and up.
This system will make your C++ or Blueprint code more organized and maintainable for larger projects and will save you major headaches when deep in development as characters grow more complex.