Need help getting Construction Queue for specific colony |
Trying to write a script to easily locate colonies with unused facility space. That part works fine but then I want to check the construction queue for those colonies and see if they are empty. Is there a way to get the Construction Queue for a specific colony? Or maybe my methodology needs tweaking? Thanks.
// get list of all planets for user
set lngRC := Sys_Get_List_Of_Players_Colonies(pid,colonyList)
if (lngRC > 0) then
for curCol := 1 to lngRC do
// for each colony see how much facility space is remaining
set lngUnusedSpace := Sys_Get_Space_Object_Facility_Space_Remaining(curCol)
if (lngUnusedSpace > 0) then
// see if anything in construction queue
//Here's where I need help! Can't find a function to return
//construction queue by colony id
endif
endfor
endif




Re: Need help getting Construction Queue for specific colony
The queue_id would be the same as the colony_id.
-----
Space Empires Depot | SE:V Balance Mod