playMaker

Author Topic: State with no action should show a warning  (Read 4550 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
State with no action should show a warning
« on: April 18, 2011, 03:29:20 AM »
Hi,

 I think a warning should be raised when a State has no action.

 I tend to build the state events, and wire everything before actually build the actions ( very handy and gratifying, makes you want to do the work :) ). This allows me to quickly laydown my idea. but then I find hard to come back and make sure all of my States actually do something...

Some sort of warning or a visual clue that it is empty. ACTUALLY :) maybe you could show the number of actions as a small label in a corner of each state, and show is read when it's 0 :) that would be cool and help us as well assessing and getting clues about each State some more.

 Bye,

 Jean

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: State with no action should show a warning
« Reply #1 on: April 18, 2011, 02:50:35 PM »
I find myself using empty "Idle" states quite often. But it should be easy enough to add a warning as a user preference...
« Last Edit: April 18, 2011, 03:08:10 PM by alexchouls »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: State with no action should show a warning
« Reply #2 on: April 19, 2011, 03:02:14 AM »
Hi Alex,

 Would be great yes, and preferences: way to go obviously. Also in the prefs you could expose a "standard" vs "expert" set of preference so that you don't scare new users.

 Bye,

 Jean