Inside a script, there is no way I know of to distinguish between a death in battle and a natural death.
The event monitor below will destroy the Gauls upon the death of the Gallic faction leader:
Code:
monitor_event BecomesFactionLeader FactionType gauls
console_command kill_faction gauls
end_monitor
This is triggered by the succession of the faction heir to faction leadership, which implies the faction leader has died. I've tested it and it works nicely.
I haven't tested the use of CeasedFactionLeader in place of BecomesFactionLeader, but that ought to work too.
Bookmarks