By the way... How do you attach a combat script to a town?
And another question - how do you make it so that at the beginning, the knight-defender of the castle casts a prayer?
How do you make it so that after the video plays, some function is executed?
2. I don't know if it will work with prayer, but try UnitCastGlobalSpell(GetDefenderHero(), SPELL_PRAYER). Don't forget to give the hero the Prayer skill.
3. StartDialogScene("link to the video", "function")