DeployReserveHero ()


DeplyReserveHero (heroName, x, y, floorID)


heroName must be hero’s internal name, not descriptive name. x and y coordinates are obvious. for FloorID, 0 meas the surface, 1 is the underground.

This command is useful for singlepayer maps, as instantly spawns the desired hero on the tile with apriopriate coordinates. If the tile is ocupied by another army, the combat will start.

However, first the hero has to be added to the reserved heroes list in map properies → players box.

Defeated heroes go back to the reserved list so that they may be used again and again. To stop that, use UnreserveHero function () which removes the hero from reserved list so that he can be hired normally in taverns.

scripting/advmap/deployreservehero.txt · Last modified: 2008/09/07 11:12 (external edit)
Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0