.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   SEV Modders Knowledge Base (http://forum.shrapnelgames.com/forumdisplay.php?f=154)
-   -   Script sorting (http://forum.shrapnelgames.com/showthread.php?t=31632)

aegisx November 5th, 2006 10:24 AM

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?


All times are GMT -4. The time now is 06:38 AM.

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