//DeathStarEscape_A state Base { Conditions { } Actions { CnxController "from=door1_a" "to=door1_b" "off_flag=BLOCK" "obj=door_1_l_2" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" CnxController "from=door2_a" "to=door2_b" "off_flag=BLOCK" "obj=door_compactor_1" "checkvisible" "on_frames=lastframeTOlastframe" "bothways" CnxController "from=zip1_a" "to=zip1_b" "off_flag=BLOCK" "obj=hook_finish" "checkvisible" "on_frames=1TOlastframe" "bothways" CnxController "from=jump_a" "to=jump_b" "off_flag=BLOCK" "obj=fixit_built" "checkvisible" "on_frames=1TOlastframe" "bothways" CnxController "from=platform_a" "to=platform_b" "off_flag=BLOCK" "obj=platform_final" "checkvisible" "on_frames=1TOlastframe" "bothways" SetPathCnxFlag "from=hole1_a" "to=hole1_b" "BLOCK" "bothways" SetState "Update" } } state Update { Conditions { if Message "FloorBlownUp" == 0 and if ForceComplete "blowup_floor" == 1 goto OpenHole } Actions { } } state OpenHole { Conditions { } Actions { SetMessage "name=FloorBlownUp" "value=1" SetPathCnxFlag "from=hole1_a" "to=hole1_b" "BLOCK" "bothways" "FALSE" SetState "Update" } }