playMaker

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14500
  • Official Playmaker Support
    • View Profile
State with no action should show a warning
« on: April 18, 2011, 12: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: 3632
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: State with no action should show a warning
« Reply #1 on: April 18, 2011, 11:50:35 AM »
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, 12:08:10 PM by alexchouls »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14500
  • Official Playmaker Support
    • View Profile
Re: State with no action should show a warning
« Reply #2 on: April 19, 2011, 12: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