State Machine Plugin v.90 beta.
Actions:
->Add State
Params : State name. Starting State.
Description: Adds a new state with the given name. State names are case sensitive so Lol is different from lol.
-> Switch State
Params: State Name.
Description: Switches the named state IE lol is false lol will become true when the state is switched.
Conditions
->State is True
Params: State Name
Description: Returns if the state is true. Invert the condition if you want to see if the state is false.
-> On State Deactivated
Params: State Name
Description: Triggers when a state goes from True To False.
-> On State Activated
Params: State Name
Description: Triggers when the state goes from False To True.
-> On State Toggled
Params: State Name
Description: Triggers when the state toggles.
v.91 up dates
[add] - On State Toggle
[add] - You can now set the default state value
[change] - Now called state deactivated and activated.
___________________________________________________________________________________
Planned additions :
-> Set default state when you add a state. - done
-> Make state Params case insensitive.
-> In IDE addition of States.
-> Adaptation to a behavior.
-> On State Toggled. -done
Any other suggestions or Ideas post here. Any bugs or problems post here as well.
Get It Here