playMaker

Author Topic: Routing UI Button commands to secondary+ FSM components?  (Read 1081 times)

gumbomasta

  • Playmaker Newbie
  • *
  • Posts: 13
Routing UI Button commands to secondary+ FSM components?
« on: May 10, 2016, 12:33:56 PM »
This is a quasi-follow-up to this topic.

I have a UI Button which I want to issue a SendEvent() to a particular FSM on an object when it is clicked.  Problem is, the FSM Component is one of two, and it's lower in the hierarchy of the two.  From what I've discovered, whatever SendEvent()'s I send from this UI button will only be picked up by the primary FSM component.  All other FSM components on the game object will not receive the SendEvent() command.

The easy solution here would simply be to move the FSM in question further up in the hierarchy so it becomes the primary one.  Still, if there were a circumstance that required that I keep this FSM secondary in the hierarchy, would there be a solution to this issue? 

Open to all ideas,

thanks!
-g