• 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.

pkent

Corporal
31 Badges
Jan 21, 2016
45
1
  • Europa Universalis IV
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Conclave
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Jade Dragon
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Europa Universalis IV: Pre-order
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • 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
  • Crusader Kings II: Charlemagne
What I am trying to do is create an event, fired by a decision that sends all women with one of two traits from my court to the court of the ruler i fired the event on. I cant figure out the scoping for the life of me.

See event below. Any ideas how to make this work. You can see i have tried different combinations of scopes.

Code:
character_event = {
    id = 600022
    desc = "EVTDESC50009"
    picture = "GFX_evt_into_the_dungeon"
    border = GFX_event_normal_frame_intrigue
    
    is_triggered_only = yes

    potential = {
             is_ruler = yes
    }
    
    option = {
        name = "EVTOPTA50009"

         any_courtier = {
            limit = {
                    is_female = yes
                    age = 45
                    prisoner = no
                OR = {
                    trait = ISTtrainedslave
                    trait = ISTcourtesanslave}
                
                
                }
            #ROOT = {move_character =FROMFRROM}
            #ROOT = move_character = PREV
        }

        move_character =ROOT
    }
}
 
Assuming you used a targeted decision and this event fires for that ruler, you'll want to scope to FROMFROM, then to any_courtier, and use move_character = ROOT
 
  • 1Like
Reactions: