Skip to content

Current questions and answers regarding the map editor.

User Avatar
#388
Auto-translated
1) Yeah, I actually wrote a script like that recently.
function P0_end()
	if GetObjectiveState("P0")==OBJECTIVE_COMPLETED then
        EnableHeroAI("RedHeavenHero03",false);
        SetRegionBlocked("BlRed1",nil);
        MoveHeroRealTime("RedHeavenHero03",183,66,1);
	end;
end;
Trigger(OBJECTIVE_STATE_CHANGE_TRIGGER,"P0","P0_end");
If the P0 objective is completed, this function will start, unblock the hero and the region that prevented access to him, and move him. Another approach could be to teleport him from some hole in the dungeon:
SetObjectPosition("RedHeavenHero03",183,66,1);
Of course, the hero's name and coordinates will be different for each one ;)
2) I know there's a mod that replaces the cyclops with a city view when the game starts. I don't know about that. I think it's possible, but very difficult...
 

К А
Стикеры GBF в Telegram