Table of Contents

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.