AddObjectCreatures(objectName, creatureID, quantity);
This function adds a quantity of creatures of creatureID
type to the army of the object objectName
. Creatures can be added to any map object that can have an army (including monsters and heroes). Monsters can only have creatures of the same type that the monster already contains added.
Only creatures, and not war machines (ballistae, catapults, etc.) can be added.