Auto-translated
Hello everyone! I'm having a problem. When I capture the final town, the Final cutscene is activated, and the town itself is destroyed, BUT – the rest of the script doesn't work!
```lua
function Final()
RazeTown("FinalHaven")
sleep(1)
StartDialogScene("/DialogScenes/FallenKnight/Final/DialogScene.xdb#xpointer(/DialogScene)")--- after this function, the script stops working!
StartCombat("HafadNecro", "MelhiorFinalCombat", 5, 14, 22, 13, 22, 14, 22, 13, 22, 14, 22, "\Maps\SingleMissions\FallenKnight\FinalCombat.xdb#xpointer(\Script)", nil, "\Scenes\CombatArenas\FinalCombat.(AdventureFlybyScene).xdb#xpointer(\AdventureFlybyScene)", nil)
StartDialogScene("/DialogScenes/FallenKnight/Outro/DialogScene.xdb#xpointer(/DialogScene)")
sleep(3)
Win()
end;
Trigger(OBJECT_CAPTURE_TRIGGER, "FinalHaven", "Final")