If that is a direct copy&paste from your script then this line is part of the problem:
Code:
monitor_event FactionTurnStart EgyptFactionType Numidia
Then, there are the if lines in the first monitor.
Code:
monitor_event FactionTurnStart FactionType Egypt
and FactionIsLocal
and FactionHasAllies
if DiplomaticStanceFromFaction pontus >= Hostile
DiplomaticStanceFromFaction requires exported parametres from a monitor, so it will no work if it is not tied to the monitor with ands. You'll have to split the monitor in two. This is how the other monitor should begin:
Code:
monitor_event FactionTurnStart FactionType Egypt
and FactionIsLocal
and FactionHasAllies
and DiplomaticStanceFromFaction pontus >= Hostile
As a rule of thumb, if a condition doesn't start with I_ it requires to be used as an event monitor condition.
Bookmarks