I've tried so many things, buuut

NeuroToxin

New Member
Reaction score
46
JASS:
function c takes nothing returns nothing
        call ForGroup( GetUnitsInRectAll(GetPlayableMapRect()), function xyz )
endfunction

function xyz takes nothing returns nothing
    local location l
if ( GetUnitTypeId(GetEnumUnit()) == 'h000' ) then
    set l = GetUnitLoc(GetEnumUnit())
        call CreateItemLoc('I000', l)
    set l = null
endif
endfunction
//===========================================================================
function InitTrig_Periodic takes nothing returns nothing
    set gg_trg_Periodic = CreateTrigger(  )
    call TriggerRegisterTimerEventPeriodic( gg_trg_Periodic, 30.00 )
    call TriggerAddAction( gg_trg_Periodic, function c )
endfunction
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top