UFSM > Finite State Machine > FSM: Set State Value (Conditional) [+Callbacks]

FSM: Set State Value (Conditional) [+Callbacks]

Exits Previous State and Begins New State by Value; Cancels transition if condition is not met (+Callbacks).

Inputs

In
Exec

Target
Finite State Machine Object Reference

Value
SM State Structure (by ref)

Condition
FSM_Transition Enum

Exit Previous State Callback
Delegate (by ref)

Begin Next State Callback
Delegate (by ref)

Outputs

Unchecked
Exec

Succeeded
Exec

Aborted
Exec