View topic - Cloning is not registered as building!



All times are UTC + 1 hour


Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 11 Jul 2011, 22:58 

Joined: 10 Jul 2009, 22:34
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


Attachments:
tp_YMSAI.lua [22.15 KiB]
Downloaded 117 times
Top
 Offline Profile  
 
PostPosted: 12 Jul 2011, 21:45 
Redacted
User avatar

Joined: 11 Jul 2007, 16:47
if you're the one issuing clone orders, it's fairly easy for you to track them yourself


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.