//state InActive //{ // Conditions // { // if ObstacleAtStart "Taun_Shutter" == 0 goto Activate // } // Actions // { // SetTaggable "FALSE" // } //} //state Activate //{ // Conditions // { // if ObstacleFinished "Taun_Shutter" == 1 goto MakeTaggable // } // Actions // { // Activate // SetTaggable "FALSE" // } //} state Base { Conditions { if ObstacleFinished "Taun_Shutter" == 1 goto MakeTaggable } Actions { SetTaggable "FALSE" } } state MakeTaggable { Conditions { } Actions { SetTaggable "TRUE" } }