Skip to content

Current questions and answers regarding the map editor.

User Avatar
#4493
Auto-translated
I removed the monster spawn and another cutscene. Now, the cutscenes play until the hero is killed, after which the game ends. EnableHeroAI('Brem', nil); EnableHeroAI('Straker', nil); StartAdvMapDialog(0); function rewF() StartAdvMapDialog(1); end; Trigger(REGION_ENTER_AND_STOP_TRIGGER, "rew", "rewF" ); Trigger(PLAYER_REMOVE_HERO_TRIGGER, PLAYER_2, 'Player2LoseHero'); function Player2LoseHero(looser, winner) if(looser == 'Brem') then StartAdvMapDialog(2); StartAdvMapDialog(3); StartAdvMapDialog(4); StartAdvMapDialog(5); StartAdvMapDialog(6); StartAdvMapDialog(7); end; end;