A Finite State Machine (FSM) Behavior, Used to control the flow of logic for objects.
thanks for the quick reply and advice mostly about C3 than you addon :D (finally)
indeed, global instance make sense (the FSM is on NPCs, so it depends of the number of NPCs).
we choose to handle the state ourselves on the object with the Persist behavior, and syncing the state to the FSM, keeping the advantages of the FSM. we should reconsider global instance too, but it will probably come with more memory overhead.
thanks again for pointing this out.
Yeah for something like Npc I would manage the state on layout load.