Addon ID

  • skymen_fsm

Info

Statistics

  • Download count10 total downloads
  • Latest download count 10 downloads of latest version
  • Average download count1 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

Stack

  • Actions

    {my}: Clear state stack

    Remove every state from the stack. The current state is not changed.

    {my}: Pop state

    Switch back to the most recently pushed state and remove it from the stack. Does nothing if the stack is empty.

    {my}: Push state {0}

    Remember the current state on the stack, then switch to the given state.

  • Conditions

    {my}: Is state stack empty

    True if no states have been pushed.

  • Expressions

    StackSize

    Number of states on the stack.

    StackState

    The state at the given stack index. 0 is the bottom of the stack. Returns an empty string if the index is out of range.

State

  • Actions

    {my}: Set state to {0}

    Switch to a state. Does nothing if it is already the current state.

  • Conditions

    {my}: Is in state {0}

    True if the current state matches.

    {my}: On any state change

    Triggered after the instance enters any state.

    {my}: On enter {0}

    Triggered after the instance enters a state.

    {my}: On exit {0}

    Triggered just before the instance leaves a state. CurrentState still returns the state being left.

  • Expressions

    CurrentState

    The current state.

    PreviousState

    The state before the current one. Empty if there was none.

    TimeInState

    Seconds of game time spent in the current state.