Auto-translated
Ser9K, I think I understand what the problem is. The archive doesn't contain the text1 and text2 files. I add them, exit, and re-enter, but they're gone. What's the issue?
New here? I'm Roha — want a quick tour?
Ser9K, I did as you suggested, but it still doesn't work... Now, it really can't create a file named text1, but for some reason, it still doesn't work...
EnableAIHero( "RedHeavenHero04", false );
EnableAIHero( "RedHeavenHero06", false );
EnableAIHero( "RedHeavenHero03", false );
EnableAIHero( "Duncan", false );
EnableAIHero( "Freyda", false );
function death2 ()
PlayObjectAnimation ("golem", "death", ONESHOT_STILL);
end;
startThread(death2);
function death3 ()
PlayObjectAnimation ("gremlin", "death", ONESHOT_STILL);
end;
startThread(death3);
And the main map script - the hero (Zehyr) enters an area, a cutscene plays, the hero who was in that area is moved to another point (as if teleported), the player (Zehyr) gains control of the cities and troops of another player, and in the subsequent turn of the opponent, the enemy heroes attack the cities (the human will be slightly stronger).
function noname(hero)
if hero == PlayerHero then
StartDialogScene( START_DIALOG );
SetObjectPosition( PlayerHero, 34, 6, 1 );
SetObjectOwner("TownSilvan", PLAYER_1);
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "regionname", nil );
end;
end;
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "regionname","noname", nil );