Page 1 of 1

Cloning is not registered as building!

Posted: 11 Jul 2011, 23:58
by yanom
function Spring.GetUnitIsBuilding (unitID), when used where unitID is a unit currently cloning itself, returns nil, meaning that the game isn't registering the unit as building something.

I was trying to use this function in YMSAI to stop the runnaway production of everything... but it won't work because of this. I've been trying things for like three hours straight... I'm a wit's end. I'm going to need knorke or someone else to tell me how to fix the overproduction bug.

My source code is attatched

Re: Cloning is not registered as building!

Posted: 12 Jul 2011, 22:45
by aegis
if you're the one issuing clone orders, it's fairly easy for you to track them yourself