Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
Error Details:
Share Link
Current questions and answers regarding the map editor.
Before adding the second trigger, all cutscenes and the first trigger worked.
EnableHeroAI('Brem', nil);EnableHeroAI('Straker', nil);StartAdvMapDialog(0);function rewF()StartAdvMapDialog(1);end;Trigger(REGION_ENTER_AND_STOP_TRIGGER, "rew", "rewF" );
After adding the trigger for hero death and subsequent actions, all cutscenes and triggers stopped working.
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); CreateMonster(134,inferno,134,90,10,0,mood= MONSTER_MOOD_AGGRESSIVE,courage= MONSTER_COURAGE_CAN_FLEE_JOIN,rotation= 0 ); StartAdvMapDialog(4); StartAdvMapDialog(5); StartAdvMapDialog(6); StartAdvMapDialog(7); StartAdvMapDialog(8); end;end;