function Trig_Hero_Actions takes nothing returns nothing
local integer array Hero_Array
set HERO_ARRAY[1] = 039;E000039;
set HERO_ARRAY[2] = 039;E001039;
endfunction
//or:
function Trig_Hero_Actions takes nothing returns nothing
local unit array Hero_Array
set HERO_ARRAY[1] = CreateUnit(Player(0),039;E000039;,0.,0.,0.)
set HERO_ARRAY[2] = CreateUnit(Player(0),039;E001039;,0.,0.,0.)
//this would create one unit of each type for Player1 in the middle of the map and store it in the array
endfunction