Let me explain in more detail
I have a start state of waitforclick with a GetMouseButtonDown action and a clicked event. The action sends a Clicked event this leads to a state2 state with a mouse pick action and a game object compare tag action the mouse pick action stores the game object that was clicked in a floorclicked variable the game object compare tag gets the floorclicked variables tag and compares it to the tag dirt which all floor objects have this then sends a floorclicked event on true and a cancel event on false.
The cancel goes back to the wait for click and the floorclicked goes to the next state that has a cancel event and a canhoe event this state has an action of bool test that checks the variable hoed on true it goes to cancel leading back to waitforclick and on false it goes to canhoe leading to the last state. the last state has a set material color action that takes the floorclicked variable set in the state2 and sets its color to a shade of brown it also has a set bool value action that sets hoed to true.
when i put this on a single floor tile it works as expected but when I put this on two floor tiles the first click works as expected but the second click on the other tile has the hoed variable also set to true. My expectation is that this is two different fsms so the variable hoed should be set to false on that one thus doing what a state machine is meant to do 'keep state'. I have attached screen shots of the the fsm and the actions.
Thanks