Warcraft III resources & community, 2003–2006 · archived

what's faster?

2 posts
#1

what's faster?

Hello,

im thinking of a creeprespawning system for a map and i have a question.

What's faster:

1 function thats creates 10 groups of 4units with CreatNUnitatLoc

or:

10 times calling a function that; creates 4 units at a given loc?

frenksel
#2
Well, i would go with the 2nd anyways, as CreateNUnitsAtLoc with more than one unit actually LEAKS if you dont use it properly, and its just a cruddy BJ call in the first place