View Single Post
  #1281  
Old December 6th, 2007, 03:23 PM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: Balance Mod

One more question:

// Nearby Enemy Location Priority - Strongest enemy target in a nearby enemy location
call Sys_Prepare_For_List_Sort()
call Sys_Set_List_Sort_Field(1, lst_AI_Nearby_Enemy_Location_System)
call Sys_Set_List_Sort_Field(2, lst_AI_Nearby_Enemy_Location_Sector)
call Sys_Set_List_Sort_Field(3, lst_AI_Nearby_Enemy_Location_Strength)
call Sys_Set_List_Sort_Field(4, lst_AI_Nearby_Enemy_Location_Assigned_Strength)
call Sys_Set_List_Sort_Field(5, lst_AI_Nearby_Enemy_Location_Owner)
call Sys_Set_List_Sort_Field(6, lst_AI_Nearby_Enemy_Location_System_Distance)
call Sys_Set_List_Sort_Field(7, lst_AI_Nearby_Enemy_Location_Ship_ID)
call Sys_Set_List_Sort_Field(8, lst_AI_Nearby_Enemy_Location_Ship_Count)
call Sys_Add_List_Sort_Sort_Column(3, FALSE)
call Sys_Execute_List_Sort()

If I understand this correctly the AI will attack the strongest enemy location. Is this wise? Why not the weakest?
Reply With Quote