function Trig_Melee_Initialization_Actions takes nothing returns nothing
local integer i1 = 100
local integer i2 = 1
local real x
local real y
local real z
loop
exitwhen i2 > i1
set x = GetRandomReal(GetRectMinX(bj_mapInitialPlayableArea), GetRectMaxX(bj_mapInitialPlayableArea))
set y = GetRandomReal (GetRectMinY(bj_mapInitialPlayableArea),GetRectMaxY(bj_mapInitialPlayableArea))
set z = GetRandomReal (500, 2000)
call CreateDestructableZ ('DTes', x, y, z, 0, 1, 1) //'DTes': remember to replace that with the rawcode I told you about!
set i2 = i2 + 1
endloop
endfunction
//===========================================================================
function InitTrig_Melee_Initialization takes nothing returns nothing
local trigger t = CreateTrigger( )
call TriggerAddAction( t, function Trig_Melee_Initialization_Actions )
endfunction