a wonderful Thread...
I'm posting for very first time in this forum but i'm not reading in this section for first time...my english is not very good..please forgive me some grammar faults!
A quick question:
has anybody checked the disable_ai console command if it works?
I would like to make a script that disable all the ai_actions and combine this with the faction switcher script! I have some problems with this matter because in the faction switcher script the ai make some stuff at the end of every turn...
i would like to execute this...
could it be that the command terminate_script? 
here is the script:
HTML Code:
script
declare_counter player_faction
if I_LocalFaction romans_julii
set_counter player_faction 1
end_if
if I_LocalFaction macedon
set_counter player_faction 2
end_if
if I_LocalFaction egypt
set_counter player_faction 3
end_if
if I_LocalFaction seleucid
set_counter player_faction 4
end_if
if I_LocalFaction carthage
set_counter player_faction 5
end_if
if I_LocalFaction parthia
set_counter player_faction 6
end_if
if I_LocalFaction pontus
set_counter player_faction 7
end_if
if I_LocalFaction gauls
set_counter player_faction 8
end_if
if I_LocalFaction germans
set_counter player_faction 9
end_if
if I_LocalFaction britons
set_counter player_faction 10
end_if
if I_LocalFaction armenia
set_counter player_faction 11
end_if
if I_LocalFaction dacia
set_counter player_faction 12
end_if
if I_LocalFaction greek_cities
set_counter player_faction 13
end_if
if I_LocalFaction numidia
set_counter player_faction 14
end_if
if I_LocalFaction scythia
set_counter player_faction 15
end_if
if I_LocalFaction spain
set_counter player_faction 16
end_if
if I_LocalFaction thrace
set_counter player_faction 17
end_if
;---------------------------------------------
if I_CompareCounter player_faction = 1
console_command disable_ai thrace
end_if
if I_CompareCounter player_faction = 2
console_command disable_ai romans_julii
end_if
if I_CompareCounter player_faction = 3
console_command disable_ai egypt
end_if
if I_CompareCounter player_faction = 4
console_command disable_ai seleucid
end_if
if I_CompareCounter player_faction = 5
console_command disable_ai carthage
end_if
if I_CompareCounter player_faction = 6
console_command disable_ai parthia
end_if
if I_CompareCounter player_faction = 7
console_command disable_ai pontus
end_if
if I_CompareCounter player_faction = 8
console_command disable_ai gauls
end_if
if I_CompareCounter player_faction = 9
console_command disable_ai germans
end_if
if I_CompareCounter player_faction = 10
console_command disable_ai britons
end_if
if I_CompareCounter player_faction = 11
console_command disable_ai armenia
end_if
if I_CompareCounter player_faction = 12
console_command disable_ai dacia
end_if
if I_CompareCounter player_faction = 13
console_command disable_ai greek_cities
end_if
if I_CompareCounter player_faction = 14
console_command disable_ai numidia
end_if
if I_CompareCounter player_faction = 15
console_command disable_ai scythia
end_if
if I_CompareCounter player_faction = 16
console_command disable_ai spain
end_if
if I_CompareCounter player_faction = 17
console_command disable_ai thrace
end_if
;----------------------------------------------
console_command control slave
if I_LocalFaction romans_julii
console_command control macedon
terminate_script
end_if
if I_LocalFaction macedon
console_command control egypt
terminate_script
end_if
if I_LocalFaction egypt
console_command control seleucid
terminate_script
end_if
if I_LocalFaction seleucid
console_command control carthage
terminate_script
end_if
if I_LocalFaction carthage
console_command control parthia
terminate_script
end_if
if I_LocalFaction parthia
console_command control pontus
terminate_script
end_if
if I_LocalFaction pontus
console_command control gauls
terminate_script
end_if
if I_LocalFaction gauls
console_command control germans
terminate_script
end_if
if I_LocalFaction germans
console_command control britons
terminate_script
end_if
if I_LocalFaction britons
console_command control armenia
terminate_script
end_if
if I_LocalFaction armenia
console_command control dacia
terminate_script
end_if
if I_LocalFaction dacia
console_command control greek_cities
terminate_script
end_if
if I_LocalFaction greek_cities
console_command control numidia
terminate_script
end_if
if I_LocalFaction numidia
console_command control scythia
terminate_script
end_if
if I_LocalFaction scythia
console_command control spain
terminate_script
end_if
if I_LocalFaction spain
console_command control thrace
terminate_script
end_if
if I_LocalFaction thrace
console_command control romans_julii
terminate_script
end_if
end_script
Bookmarks