Originally Posted by
Callistonian
FactionAllianceDeclared and FactionBreakAlliance are both events, not conditions, and neither export character_record, hence neither are suitable as events for EDCT triggers (the game doesn't know who gets the trait effect).
This is an interesting problem and a script solution doesn't immediately present itself to me. The Transgression event can also test for broken alliances, but it has the same problem - doesn't export character_record. You can, of course, use DiplomaticStanceFromFaction in combination with tracking counters to check if alliances have been formed or broken with specific factions, but that's a lot of faction-to-faction-specific triggers and you would still need different WhenToTest events in EDCT so the trait effects wouldn't be instantaneous. Maybe someone knows of some useful conditions for this.