Here's a convenient event to test with:
Put this in an event file, start up a new game as France or England, and kill off Henry V. The event will fire only if a save game is subsequently loaded.
Code:
event = {
id = 424242
trigger = {
NOT = { leader = 09250 } # Henry V
}
random = no
country = ENG
style = 1
name = "The king is dead!"
desc = "The king is dead!"
date = { day = 1 month = january year = 1419 }
offset = 0
deathdate = { day = 1 month = january year = 1820 }
action_a = {
name = "Long live the king!"
command = { type = treasury value = 1 }
}
}[/color]