//RescueA //The characters are snapped to their start position in the level.scp state Base { Conditions { if CategoryIs "Jedi" == 1 goto JediUpdate if BaddyInTriggerArea "courtyard" == 1 goto HideInSafeArea if PreviousResult == 0 goto NormalUpdate } Actions { KeepWeaponOut } } state HideInSafeArea { Conditions { if BaddyInTriggerArea "courtyard" == 0 goto NormalUpdate } Actions { GoToLocator EngageOpponent "static" "firerange 3" } } state NormalUpdate { ReferenceScript { Script=GenericDefend Source=Global ReturnState=Base Conditions { } } Conditions { if CategoryIs "Jedi" == 0 and if BaddyInTriggerArea "courtyard" == 1 goto HideInSafeArea } Actions { FollowPlayer "1.5" } } state JediUpdate { ReferenceScript { Script=GenericDefend Source=Global ReturnState=Base Conditions { } } Conditions { } Actions { FollowPlayer "0.75" } }