playMaker

Author Topic: quick way to add the required transition from an action  (Read 1672 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14109
  • Official Playmaker Support
    • View Profile
quick way to add the required transition from an action
« on: April 17, 2011, 11:47:59 PM »
Hi,

 I thinkw ecan improve the workflow when selecting events to be distpach within an action and that this event is not yet added as a transition.

1: I create a state
2: I add an action like booltest
3: I select the event to send when true
--> the action gives me an warning "Event not used by the state or any global transition"

Since you actually detect and modify the inspector content to show this warning, I would like ideally to be presented two small button, right next to that warning: one that would add this event to the state ( instead of me having to manually do it and break the building pace) and another that would add this event as a global transition with a new state. The second might not be creating cascading problems like where to put it on the fsm view etc etc. But the first button would be easy to do I suspect and would be a real time saver.

 Bye,

 Jean

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3605
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: quick way to add the required transition from an action
« Reply #1 on: April 18, 2011, 12:00:08 PM »
Great idea! This general idea could be applied in other errors too (e.g., missing component error has Add Component Button).

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14109
  • Official Playmaker Support
    • View Profile
Re: quick way to add the required transition from an action
« Reply #2 on: April 19, 2011, 12:07:25 AM »
yes :)