private function preloadAbilities takes nothing returns nothing
local unit u
local integer Loop = 0
set u = CreateUnit( Player(11), 'hfoo', 0, 0, 0)
call ShowUnit( u, false)
loop
exitwhen Loop > 39
call UnitAddAbility( u, abilityIDS[Loop])
call UnitRemoveAbility( u, abilityIDS[Loop])
set Loop = Loop + 1
endloop
set u = null
endfunction