Hey,
I'm a seasoned software engineer, but very much new to FSM design. I'm working on my first game. I'm working on some enemy AI states. I've got a simple FSM which allows the enemy to idle, roam, seek etc. However, i want my enemy to continuously monitor whether the player is in the line of sight. But i want this action to happen no matter which state my FSM is in. I'm not concerned about the specific implementation here, i'm concerned about the design approach and the "right" way to achieve what i want. I don't think it makes sense for all my states to have the same actions in them to check for the player. If someone could point me in the right direction that would be great. Should i be using multiple FSM's?