I am using Equipment v2.5.2. But the system only generates equipment for 2 units that spawn in the middle of the map, "demon" and "test". I want to create equipment for all heroes, or a specific hero, but i don't know how?
private function Initialize takes nothing returns nothing
local unit demon = CreateUnit(Player(0), 'Edem', -14450, 13612, 0)
local unit test = CreateUnit(Player(0), 'H001', -14450, 13612, 0)
local unit orc = UnitTypeId('N000') ???
call CreateEquipment(test)
call CreateEquipment(demon)
call CreateEquipment(orc)