//CloudCityEscape_A ReferenceScript { Script=GeneralParty Source=Global ReturnState=Base Conditions { } } state InActive { Conditions { if FreePlay == 1 goto Activate if IAm "R2D2" == 0 goto Activate if IAm "R2D2" == 1 and if BeenToLevel "CloudCityEscape_B" == 1 goto Activate } Actions { } } state Activate { Conditions { } Actions { Activate ;Activate starts the creature. Will be started at position calculated in AllocatedPickup } } state Base { Conditions { if PlayerInTriggerArea "Bonus" == 1 goto BonusUseForce } Actions { FollowPlayer "1" } } state Update { Conditions { if FreePlay == 1 and if ObstacleFinished "plat_2" == 1 and if PlayerInTriggerArea "Bonus" == 1 goto BonusUseForce } Actions { FollowPlayer "1" } } state BonusUseForce { Conditions { if FreePlay == 0 goto Update if ObstacleFinished "plat_2" == 0 goto Update if PlayerInTriggerArea "Bonus" == 0 goto Update } Actions { GoToLocator "name" "Bonus" "xz_rangecheck" "0.3" UseForce "plat_1" } }