UFSM: Finite State Machine

You should look in plugin classes and see how “conditional SetState()” works.

If you want to call SetState() that way you should setup a condition to do so once the door is fully open.