Auto-translated
To work with the DeployReserveHero() function, you need to add a hero to a player's reserve and ensure that this hero is not on the map.
I've seen this script implementation in other games. Perhaps you could suggest how to extract a map from a campaign? Then I could delve into the code myself and share the solution if you're interested.