Action Manager
Last updated
Was this helpful?
Last updated
Was this helpful?
The Action Manager (AC_ActionManager) is responsible for managing, tracking, and executing all player actions. At runtime, it spawns and initializes action objects, providing a centralized system to find and execute actions dynamically.
It is added to the Character class by default (B_Soulslike_Character).
Action Registration:
At runtime, all relevant Actions (e.g., Attack, Dodge, Jump, etc.) are registered and initialized as UObject-based instances.
Actions are stored in a map for quick lookup through the usage of Gameplay Tags.
Performing Actions:
When an action is requested (through the Input Buffer), the Action Manager looks up the incoming Action in its map.
Calls the ExecuteAction()
method in the found action object, triggering the action's specific behavior.
Action State Management:
Ensures that only valid actions can execute (e.g., preventing a dodge during an attack unless queued).