; Relay Race #4 ; If player has won the final relay race, unlock final cut scene ; MM, 04-03-07 ; When you quit out of this event without completing it [QuitGeneral] [QuitStep1] [QuitStep1Action1] ; switch to explore ActionType = SwitchStoryEventAction StoryEventName = StoryEvent_Explore ; When you continue the story after completing this event [ContinueGeneral] [ContinueStep1] [ContinueStep1Action1] ; if the player won the race, and has not seen cut scene #21 transition to cut scene #21 ; if not, return to the hub the player came from ActionTest = T1 & !T2 T1 = StoryEventCheckStatusTest T1_StoryEventName = StoryEvent_RelayRace4 T1_Status = First T2 = StoryEventCheckStatusTest T2_StoryEventName = StoryEvent_CutScene21 T2_Status = CutsceneFinished ; transition to cut scene #21 ActionType = SwitchStoryEventAction StoryEventName = StoryEvent_CutScene21 [ContinueStep1Action2] ; Check if the player didn't win the race or already viewed cutscene, go back to explore ActionTest = !T1 | T2 T1 = StoryEventCheckStatusTest T1_StoryEventName = StoryEvent_RelayRace4 T1_Status = First T2 = StoryEventCheckStatusTest T2_StoryEventName = StoryEvent_CutScene21 T2_Status = CutsceneFinished ; return to explore mode ActionType = SwitchStoryEventAction StoryEventName = StoryEvent_Explore ; When this event is unlocked ;[UnlockedGeneral] ;[UnlockedStep1] ;[UnlockedStep1Action1] ; When the player completes this event without winning ;[FailedGeneral] ;[FailedStep1] ;[FailedStep1Action1] ; When the player finishes first, second, or third in this event ;[PlacedGeneral] ;[PlacedStep1] ;[PlacedStep1Action1] ; When the player finishes first in this event [FirstGeneral] [FirstStep1] [FirstStep1Action1] ; unlock cut scene 21 ActionType = StoryEventUpdateStatusAction StoryEventName = StoryEvent_CutScene21 Status = Unlocked [FirstStep1Action2] ;set the current story mode cutscene to cutscene 21 ActionType = SetCurrentCutsceneAction StoryEventName = StoryEvent_CutScene21