Skip to content
#1519
Auto-translated
Heroist
< HeroesPool >
< Count >1< /Count >
< Heroes >
< Item >
< HeroScriptName >RedHeavenHero01< /HeroScriptName >
< TargetCampaign/ >
< TargetMission >1< /TargetMission >
< /Item >
< /Heroes >
< /HeroesPool >

In the first and second missions, only the number near "target mission" changes. I copied it, and it seems to be from the developers' file, with minor changes. However, recently, the hero has stopped transferring to the next mission. I can't understand what's wrong...
As I understand it, this snippet saves the heroes whose names are listed in the pool, preserving their stats as they were at the end of the mission. Maybe you used @Win() and the hero remained at level one, which is why he didn't transfer to the next mission with anything.
TargetMission should be equal to the current mission.
You can try writing the campaign file name in TargetCampaign.

Statistics

Welcome our newest member: dodoD0D0

Users Online 1 users 1385 guests