//Dagobah_A state Base { Conditions { if FreePlay == 1 goto Update if Message "LukeIsAJedi" == 1 goto Start_LukeIsAJedi if AlwaysTrue == 1 goto Start_LukeIsNotAJedi } Actions { CnxController "from=ramp1_a" "to=ramp1_b" "off_flag=JUMP" "obj=build_1_2_5" "checkvisible" "on_frames=1TOlastframe" "bothways" CnxController "from=ramp2_a" "to=ramp2_b" "off_flag=JUMP" "obj=build_2_2_6" "checkvisible" "on_frames=1TOlastframe" "bothways" CnxController "from=zip1_a" "to=zip1_b" "on_flag=FORBADDIES" "off_flag=ZIPUP" "obj=green_plant_6" "checkvisible" "on_frames=1TOlastframe" "bothways" CnxController "from=bridge1_a" "to=bridge1_b" "off_flag=FORBADDIES" "off_flag=R2D2GLIDE" "obj=bridge_02" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" CnxController "from=gate1_a" "to=gate1_b" "on_flag=BLOCK" "obj=lattice" "checkvisible" "on_frames=1TOlastframe" "bothways" } } state Start_LukeIsAJedi { Conditions { } Actions { SetTaggable "character=LukeSkywalker_Pilot" "FALSE" CannotDropIn "character=LukeSkywalker_Pilot" NotWithParty "character=LukeSkywalker_Pilot" DeActivate "character=LukeSkywalker_Pilot" SetState "Update" } } state Start_LukeIsNotAJedi { Conditions { } Actions { SetTaggable "character=LukeSkywalker_Dagobah" "FALSE" CannotDropIn "character=LukeSkywalker_Dagobah" NotWithParty "character=LukeSkywalker_Dagobah" DeActivate "character=LukeSkywalker_Dagobah" SetTaggable "character=Yoda" "FALSE" CannotDropIn "character=Yoda" NotWithParty "character=Yoda" DeActivate "character=Yoda" SetState "Update" } } state Update { Conditions { } Actions { } }