So I have a FSM setup for mouse input. It goes through a series of pages in a scene for instructions. The user clicks on 1 of the buttons and it changes pages. I also want joystick support as well. That way a person can press left, right, up or down on the keyboard as well and navigate though. I figured out how to do this with 1 udlr per scene, but now have several pages. So now it doesn't seem to work. I have a 2nd game object that is a joystick manager. It just sits there waiting for the joystick to trigger. When it does, it sends a event message to the help screen manager. the problem is that it won't fire the event.
So my 1st quest is this: is the event supposed to fire off another event regardless of where it is? What I mean is the help manager is on a event so can the joystick manager force the help manager to go to a different part of the FSM? I am sure it does, but just wanted to verify.
So here is where I am at: It seems to go though the joystick manager OK and fire off the FSM to the help manager. The help manager is stuck on a state but when the event is sent, it does not change to that state-transition.
So looking at the pictures.
Capture.png show the joystick manager. The trigger event and then 5 pages in yellow. So the variable is set to 1,2,3,4 or 5 and then moves to the next state (goto page 1...)
capture3.png shows the 'goto page 1' in the joystick manager. This shows the send event to the 'go-help-manager' and the FSM name. There is a global event called 'joytrigger-page1'. So this is supposed to send a event from the joystick manager to the help manager to trigger 'joytrigger-page1'
capture 2.png show the help manager. You can see the 'joytrigger-page2' at the bottom left in grey. It is suppose to pick up here and go to the 'vehicles all off'. It does not. On the right side of the screen shows the 4 joytrigger global events.
So any idea of why it doesn't tigger the 'joytrigger-page2' in capture2.jpg?