Thread: Overgrowth
View Single Post
Old 03-29-2009, 05:07 PM   #26
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,190

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

The point is that GroupEnumUnitsInArea is incredibly inline friendly, it would add a total of 6 lines of code to your spell (a globals block with two reals for coordinates, setting of those reals before a GroupEnum call and a IsUnitInRangeXY call in your enum function) not to mention that it'd be considerably more efficient that way.
__________________
Anitarf is offline   Reply With Quote