.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEV Modders Knowledge Base

Reply
 
Thread Tools Display Modes
  #1  
Old November 5th, 2006, 10:24 AM

aegisx aegisx is offline
Second Lieutenant
 
Join Date: Sep 2006
Posts: 482
Thanks: 0
Thanked 0 Times in 0 Posts
aegisx is on a distinguished road
Default Script sorting

Anyone give an insight on how the sorting works in the AI scripts?

call Sys_Prepare_For_Planet_Sort()
call Sys_Add_Planet_Sort_Column(SORT_PLANET_BY_BREATHAB LE, FALSE)
call Sys_Add_Planet_Sort_Column(SORT_PLANET_BY_ENEMIES_ PRESENT_IN_SYSTEM, TRUE)
call Sys_Add_Planet_Sort_Column(SORT_PLANET_BY_SYSTEM_D ISTANCE_TO_HOME_SYSTEM, TRUE)
call Sys_Add_Planet_Sort_Column(SORT_PLANET_BY_HAS_GRAN TED_TECH, FALSE)
call Sys_Add_Planet_Sort_Column(SORT_PLANET_BY_PLANET_S IZE, FALSE)
call Sys_Add_Planet_Sort_Column(SORT_PLANET_BY_TOTAL_PL ANET_VALUE, FALSE)
call Sys_Execute_Planet_Sort(sys_long_Player_ID, lst_AI_Colonizable_Planets)

Is there anyway to print out the list in the debug logs?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:29 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.