Right, I think I ahve come up with the basic code for an example. This example is for the subjugation of Hellas by the Romanii:
Code:
monitor_event FactionTurnEnd FactionType seleucid
and I_CompareCounter Romanii_11_SubjAvalible = 0
and I_TurnNumber > 1
if I_SettlementOwner Sparte = seleucid
inc_counter Romanii_11 1
end_if
if I_SettlementOwner Athena = seleucid
inc_counter Romanii_11 1
end_if
if I_SettlmentOwner Corinthos = seleucid
inc_counter Romanii_11 1
end_if
if I_SettlementOwner Thermon = seleucid
inc_counter Romanii_11 1
end_if
if I_SettlementOwner Demetrias = seleucid
inc_counter Romanii_11 1
end_if
if I_SettlementOwner Pella = seleucid
inc_counter Romanii_11 1
end_if
if I_SettlementOwner Byzantion = seleucid
inc_counter Romanii_11 1
end_if
if I_SettlentOwner Myteline = seleucid
inc_counter Romanii_11 1
end_if
if I_SettlementOwner Rhodos = seleucid
inc_counter Romanii_11 1
if I_SettlemntOwner Kydonia = seleucid
inc_counter Romanii_11 1
end_if
if I_SettlemntOwner Ambrakia = seleucid
inc_counter Romanii_11 1
end_if
if I_CompareCounter Romanii_11 = 11
set_counter Romanii_11SubjAvalible 1
terminate_monitor
end_if
end_monitor
This paticular refrom is known as Romanii_11 because it is for the Romanii, and Hellas is the 11th area on the map.
This still needs to be expanded to place the actual goverment markers, but i think this would be the correct monitor, would it not. I would be gratefull for a profesional opinion here.
Bookmarks