playMaker

Author Topic: Disabeling states  (Read 3143 times)

FritsLyn

  • Full Member
  • ***
  • Posts: 191
Disabeling states
« on: July 20, 2013, 03:02:44 PM »
One of the nice tools one have in most programming languages, is the option to "out comment" a piece of code.

It'd be really nice to be able to - as easy as changing color (just set to faded/light color) - out comment / disable a single state or a selected group of states.

There's a bucket full of possibilities that would open this way - without adding further functionality. If you cannot see them, I'll write a longer post ;)

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Disabeling states
« Reply #1 on: July 20, 2013, 09:47:23 PM »
This could be handy, I tend to just bypass the state if i want to turn it off or disable individual actions in the state. But I can see the merit in this.

KozTheBoss

  • Full Member
  • ***
  • Posts: 150
  • You dont fail unless you give up trying to succeed
    • Pixel Life - portfolio
Re: Disabeling states
« Reply #2 on: July 31, 2013, 10:03:25 AM »
Agree that this would be nice, but until then you could simply just disable the actions within that state, or just remove the transition from that state, effectively disabling or removing it from your FSM as it would not get activated at any point
Remember, you don't fail unless you give up trying to succeed!