#--------------------------------------------- # Start state #--------------------------------------------- state Base { Conditions { if LevelValue "Orie" != 0 goto Activate } Actions { GroundShadow Disable } } #--------------------------------------------- # Activates the character #--------------------------------------------- state Activate { Conditions { if LevelValue "Orie" == 0 goto Base } Actions { Enable } } state Killed { COnditions { } Actions { SetLevelValue "type Orie" "value 0" } }