can messages be passed between states
States define what logic is currently active. Inactive logic will not do anything. This means when your message sensor is not connected to a controller of an active state it will not sense anything.

If you really need you either:


connect the message sensor to a controller at each state
add another state that is always active (yes, you can activate multiple states at the same time) and move the message processing to that state