I wonder if it could be simplified. I see numerous examples in the history files of 'effect={ROOT={add_consort=c_######}}'. Maybe your code could cut down to:Yep also got it to work for Baptisms as well which was probably more important than the Coronation thing. Here is the code I used as well for it in case anyone else needs it. Thanks You again Rydelfox for helping me. Would have still been at this for days trying to figure it out instead of working on the map repaint I'm working on.
Code:effect = { c_###### = { ROOT = { save_persistent_event_target= { name = baptizing_pope_per scope = PREV } add_trait = baptized_by_pope } } }
Code:
effect = {
ROOT = {
save_persistent_event_target= { name = baptizing_pope_per scope = c_###### }
add_trait = baptized_by_pope
}
}