//BonusB - C3PO ReferenceScript { Script=GenericDefend Source=Global ReturnState=Base Conditions { } } state Base { Conditions { if Message "Met_C3PO" == 0 goto WaitToBeFound } Actions { FollowPlayer "1" } } state WaitToBeFound { Conditions { if RigidAnimFrame "pod" > 1 goto BeenFound } Actions { DontPush SnapToLocator "name=C3PO_Start" Idle } } state BeenFound { Conditions { } Actions { SetMessage "name=Met_C3PO" "value=1" SetState "Base" } }