Thread: xe0.9
View Single Post
Old 06-28-2008, 06:06 PM   #12
Here-b-Trollz
Corkscrew Chainsaw!!!
 
Join Date: Jun 2006
Posts: 711

Here-b-Trollz has a spectacular aura about (149)

Hero Contest #2 - 2nd Place

Default

The most we ever really need out of a group is:

Collapse JASS:
private function Enumer takes nothing returns boolean
    call DamageUnit(GetFilterUnit())

    return false
endfunction

//...

call GroupEnumUnitsInRange(DummyGroup,x,y,radius,Filter(function Enumer))

That, and if we want to tag units in perhaps a spell that deals damage in a line, so they aren't hit more than once.


Awww.... Table is just a more robust form of gamecache. Cute :> I have to agree that gamecache is awesome, and now, with tables, you've given us arrays that have any size. Kewl.
__________________
By reading this signature, you agree that I cannot be held accountable for anything that I might say or do.
Here-b-Trollz is offline   Reply With Quote