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?
|