- Joined
- Jul 10, 2009
- Messages
- 534
Hey guys,
I've got 2 questions:
Thanks for your help and have a nice day,
Eikonium
I've got 2 questions:
- Has
GroupEnumUnitsInRect(g,r,f)
an internal maximum of how many units it can enumerate? I have used it on a rect with 13 units, but only 11 of them were picked. The 2 non-picked units were located at the bottom of the rect and did not have locust. Am I missing something? - Do conditionfuncs leak, when created from anonymous lua functions? I know that, given a function b taking nothing and returning boolean, you can use
Condition(b)
as often as you want without creating further leaks. But how aboutCondition(function() return true end)
? I suspect that the anonymous lua function is different on every use and so will the conditionfunc be? Will the conditionfunc be cleaned by Lua's Garbage Collector or should I do it manually?
Thanks for your help and have a nice day,
Eikonium