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