It removes the unit group leak.Yes that is this what i need but one question what does the Custom skript do?
So right?^^
(trigger)
hmm,, its alot smarter to use 1 group, that checks a condition with 4 ands.
1 and = unit type 1.
second and = unit type 2.
and so on,
then check unit type and add the income on the check, alot smarter.
Read the thread.ap0calypse said:For you, I'll make it a simple (yet a bit less good) trigger.
I just thought it'd be easier to copy a unit group loop a few times for every unit type ^^oh..
sorry, didnt see that post.. o.o
but it does matter..
3 unit groups rather then 1 really matters.
its 3 extra groups that the function uses, makes it alot less efficent. and dont use my code if you dont understend it.. cuz i guess hes will be easier ;p