//BonusA state Base { Conditions { if FreePlay == 1 and if EitherPlayerInTriggerArea "Cutscene" == 1 goto BonusLevelComplete if FreePlay == 0 and if EitherPlayerInTriggerArea "Cutscene" == 1 goto StartEndCutscene } Actions { ;CnxController "from=door1_a" "to=door1_b" "off_flag=BLOCK" "obj=door12" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" ;CnxController "from=door2_a" "to=door2_b" "off_flag=BLOCK" "obj=door1" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" ;CnxController "from=door3_a" "to=door3_b" "off_flag=BLOCK" "obj=door3" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" CnxController "from=door4_a" "to=door4_b" "off_flag=BLOCK" "obj=door2" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" ;CnxController "from=door5_a" "to=door5_b" "off_flag=BLOCK" "obj=door4" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" CnxController "from=door6_a" "to=door6_b" "off_flag=BLOCK" "obj=door5" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" ;CnxController "from=door7_a" "to=door7_b" "off_flag=BLOCK" "obj=door6" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" ;CnxController "from=door8_a" "to=door8_b" "off_flag=BLOCK" "obj=door7" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" SetDefaultMovementRange "4" SetSide "baddie" "type=RebelScum" "not_party" SetMaxMovementRange "Default" "All_Non_Party" } } state StartEndCutscene { Conditions { if CutSceneFinished "ep4_episode_outro" == 1 goto BonusLevelComplete } Actions { PlayCutScene "name=ep4_episode_outro" } } state BonusLevelComplete { Conditions { } Actions { SetMessage "name=BonusLevelComplete" "value=1" } }