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.
In MapPropretiesTree, look for the "players" section, and for each player, set "CanBeHumanPlayer" to true (if you want a human player to be able to choose that player number at the start) or false (if not). Also, set "CanBeComputerPlayer" to true (if you want a computer player to be able to play as that player number at the start) or false (if not).
function necro1(hero)
if hero=="Berein" then
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "castle_gates", nil);
SetObjectiveVisible( "obj2", true, PLAYER_1 );
SetObjectiveState ("obj2", OBJECTIVE_ACTIVE);
DeployReserveHero("Nur", 149, 12, 0);
ChangeHeroStat("Nur", STAT_EXPERIENCE, 14700 * enemy_coef);
end;
end;
function necro_defeated (killed, killer)
if killed=="Nur" and killer=="Berein" then
SetObjectiveState ("obj2", OBJECTIVE_COMPLETED);
SetObjectOwner("castle", PLAYER_1);
AddObjectCreatures("castle", CREATURE_183, 3 * coef);
AddObjectCreatures("castle", CREATURE_298, 50 * coef);
AddObjectCreatures("castle", CREATURE_skeleton_warrior, 100 * coef);
AddObjectCreatures("castle", 63, 8 * coef);
DeployReserveHero("Gottai", 125, 8, 0);
EnableHeroAI("Gottai", true);
SetAIHeroAttractor("castle", "Gottai", 2);
ChangeHeroStat("Gottai", STAT_EXPERIENCE, 25000 * enemy_coef);
end;
if killed=="Gottai" and killer=="berein" then
DeployReserveHero("Gles", 20, 100, 0);
EnableHeroAI("Gles", false);
ChangeHeroStat("Gles", STAT_EXPERIENCE, 30000 * enemy_coef);
LevelUpHero("berein");
end;
if killed=="Gles" and killer=="Berein" then
DeployReserveHero("Muscip", 84, 44, 0);
EnableHeroAI("Muscip", true);
ChangeHeroStat("Muscip", STAT_EXPERIENCE, 75000 * enemy_coef);
LevelUpHero("berein");
end;
end;
Why isn't this script working? When I enter the region, I should receive a quest to kill a mage, and the mage himself should appear! But nothing happens. What should I do?