Thanks for your time guys
I take it that you need a counter to do actual counting (regions?) and another counter as a flag to represent "conditions met" for the EDB and fow.
Yeah that is the case. The counter does actually this and is used later in the victory conditions. It is first reset to 0 at each turn, then increased of 1 for each region the faction has, all in the same monitor.
Once it reaches the value of 6 then the event_counter should be set. This happens at turn start for each faction. So I have this (10k lines long):
Code:
monitor_event PreFactionTurnStart FactionIsLocal
set_counter north_counter_stark 0
...
if I_SettlementOwner Winterfell = scotland
inc_counter north_counter_stark 1
end_if
...
end_monitor
And this:
Code:
monitor_event FactionTurnStart FactionIsLocal
...
if I_CompareCounter north_counter_stark > 5
set_event_counter north_counter_stark 1
end_if
...
end_monitor
The toggle_fow in 1st post was just to test if the other conditions were met (and they were since fog was toggled). I removed it as you can see.
Then the problem must be the set_event_counter part: at the bottom I added this:
Code:
monitor_event FactionTurnStart FactionIsLocal
and I_EventCounter north_counter_stark = 1
console_command toggle_fow
end_monitor
And the fog is not toggled when I pass the turn. Why?
Is there any way to find the counters and their values in the game log?
@TNZ Thanks I didn't know this, but It does not work even after some turns 
Also I'm not that fond of the set_recruit_pool solution since EDB is not my field, I prefer to avoid it if possible
If any of you want to give a closer look, here the entire script. Set language as YAML in Notepad++ for fast reading.