Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 3 users and 164 guests online.

Online users

  • GambitUK
  • Randallw
  • OmnusDestoth

Languages

  • English English
  • French French

Browse archives

« September 2008  
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
Home » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Need help getting Construction Queue for specific colony

Submitted by jacob4408 on Thu, 2007-05-10 13:40. SE:V MODs

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

‹ GidMod v0.311a Generalized carriers ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Captain Kwok's picture
Mod Designer

Re: Need help getting Construction Queue for specific colony

Submitted by Captain Kwok on Thu, 2007-05-10 14:13.

The queue_id would be the same as the colony_id.

-----

Space Empires Depot | SE:V Balance Mod

» login or register to post comments

Re: Need help getting Construction Queue for specific colony

Submitted by jacob4408 on Thu, 2007-05-10 14:18.

A-ha! As usual, I genuflect to the Keeper of SE5 Wisdom, the one, the only, Captain Kwok.

Thanks!

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • Ship Capture Issues
  • Space Empires V
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Hows the current AI?
  • SE5 Multimedia Pack

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • New To Multiplayer.
  • How to read the Fleet name
  • how do i play as a pre-made race?
  • Old ship design
  • Neutral Races..
(c) Strategy First, Inc. All rights reserved.