AddHeroCreatures()

Syntax

AddHeroCreatures(heroname, creatureID, quantity);

Description

Adds a quantity of creatures of creatureID type to the army of the hero heroname. heroname is the hero’s internal name, set when the map is created. The command works regardless of where the hero is: he may be absent from the map (being in a town or among the dead (?)).

Only creatures can be added. For war machines (ballistae, catapults, etc.) use GiveHeroWarMachine() instead.

scripting/advmap/addherocreatures.txt · Last modified: 2007/06/25 22:04 (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