state Base { Conditions { } Actions { SetState startFlyBy } } state startFlyBy { Conditions { } Actions { SetLocator "name=flyby_a" GoToLocator "5" SetState SetLocator } } state SetLocator { Conditions { } Actions { GetLocatorFromGroup "name=flyina" "random" SetState "GoToLoc" } } state GoToLoc { Conditions { if Timer > 10 goto SetLocator } Actions { ResetTimer GoToLocator "4" Kill } }