If I've correctly grasped what you want then the issue is you are changing the dynasty of FROMFROM to be ROOT's then looking for their dynasty members to make ROOT's dynasty as well. Because you are doing FROMFROM first you then look through all the members of their new dynasty and make the into the same dynasty they already are. Move the dynasty change of FROMFROM themselves to be after you search for their dynasty members.Okay, does anybody else here use "any_dynasty_member_even_if_dead"? I'm on 2.8.1. Cuz no matter what I do, the effects I want to happen are shown in the tooltip but not actually exceuted.
Code:targeted_form_cadet_dynasty = { is_high_prio = yes third_party = ROOT third_party_filter = dynasty show_third_party_potential = yes from_potential = { ai = no } potential = { ai = yes } third_party_potential = { FROMFROM = { show_scope_change = no is_descendant_of = ROOT is_female = no mother_even_if_dead = { NOT = { is_descendant_of = ROOT } } } } third_party_allow = { FROMFROM = { is_descendant_of = ROOT is_female = no } } allow = { always = yes } effect = { ROOT = { dynasty = father_bastard } FROMFROM = { dynasty = ROOT any_dynasty_member_even_if_dead = { limit = { is_descendant_of = ROOT is_female = no mother_even_if_dead = { NOT = { is_descendant_of = ROOT } } } dynasty = ROOT } } } }
Even if I don't use the third party, as I said in https://forum.paradoxplaza.com/forum/index.php?threads/modding-quick-questions.589686/page-1631, "any_dynasty_member_even_if_dead" doesn't work. Not sure if bug or what.
Also, I tried using variables and count or whatever to keep track of a generation, but it doesn't work? Probably doing it wrong. Like I've brought a character from the dead to make targetable but it still doesn't work.
How exactly do you use "is_descendant_of" and "is_ancestor_of"? Is there a generation condition or limit? It's not on the official CK2 wiki. I want to limit the scope to a character's great grandfather or something like that instead of the 16 (generation) max that the developers said is the limit.
I just want to (properly; with dynasty tree view working; no unlinked characters)prune a dynasty after it has dispersed. And I want to distinguish between (bastard) maternal and paternal descendants.
This patch made me think that what I want is now possible. It's just the commands are not working or conditions are missing.
Like if I use "any_child_even_if_dead", it works right. But I have to keep repeating it over and over again. That's why I was so stoked for "is_descendant_of" and "is_ancestor_of".
"effect_even_if_dead" also doesn't work in my context?
Again, "any_dynasty_member_even_if_dead" shows what I want in the tooltip but it doesn't actually execute it.
effect_even_if_dead is only for history entries not decisions etc.