• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Showing developer posts only. Show all posts in this thread.

Divine

Tech Lead
Paradox Staff
33 Badges
Dec 26, 2005
582
1.011
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
Hmm not having the time to try it out by myself it seems like it could be a problem where nested FROM-scopes are transferable. So the inner "who = FROM" is actually pointing towards the FROMFROMFROM-scope (from the original scope setups perspective). This can be solved by using "who = ROOT_FROM". Try that out and see if it helps anything. :)
 

Divine

Tech Lead
Paradox Staff
33 Badges
Dec 26, 2005
582
1.011
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
Also for 3.0.1 the list of potential characters for both electors and nominated characters will be expanded a bit.
Currently 3.0.1 includes the following:
Dynastic characters of the current ruler,
De jure vassals of the title,
De facto vassals of the title,
De jure lieges of the title,
Direct (1-step) De facto liege's vassals + court,
All De facto lieges.
Religious Head of the current ruler,
Spouses of the current ruler,
Claimants of the title,
Courtiers of the current ruler,
All characters that has any cached traits
(this can be a bit tricky so make sure that your characters are relevant to your title in some way, for vanilla the traits relevant are the Hajj/pilgrimage traits - but it's pretty powerful since it's basically a universal character list with hidden cached traits)
 

Divine

Tech Lead
Paradox Staff
33 Badges
Dec 26, 2005
582
1.011
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
This is however as long as you don't use tanistry or elective gavelkind as base for your elective laws. Then only the dynastic characters of the current ruler are valid nominations.
 

Divine

Tech Lead
Paradox Staff
33 Badges
Dec 26, 2005
582
1.011
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
Can you clarified on thw cached traits thing? Will we be able to specify the cached traits relevant to a given law? Or do all laws have to be hampered with a global lists of all caches traits regardless of which cached trait a character has?
All laws will evaluate every character with a cached trait. So if you don't care about those characters then just make sure your triggers have some conditions that still require them to be relevant to the realm or be relevant for other reasons. And if you're tagging them specifically then just have another clause in your dis-junction with that specific trait.
eg
Code:
OR = {
    AND = {
        <interesting character in the realm>
    }
    AND = {
        <interesting family member>
    }
    AND = {
        <interesting councillor>
    }
}

Code:
OR = {
    AND = {
        <interesting character in the realm>
    }
    AND = {
        <interesting family member>
    }
    AND = {
        <interesting councillor>
    }
    trait = my_cached_elector_trait
}