However, I’m not sure about a few things and would appreciate some guidance:
- Where should I store and manage the
CurrentState
variable? Should it be in the player character, the game mode, or somewhere else? - How should I set and access each actor’s enum value? Should the enum variable be exposed and editable per actor in the editor?
- What is the best way to compare these values during interaction? For example, should I use an interface or cast the actor during interaction?
- What is the recommended method to pass or share the
CurrentState
variable between Blueprints (e.g., from GameMode to an item actor)?
I’d like to follow best practices, so I’m open to suggestions about structuring this logic properly in Blueprints.