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

alfian

Major
13 Badges
Feb 17, 2013
505
82
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
It seems does not work for me, anyone correct me.. I want to make if the ruler is dead, something wrong with is_alive = no

Code:
trigger = {
        location = {
            OR = {
                region = world_india
                region = custom_sindh
            }
        }
        OR = {
            location = {
                OR = {
                    region = world_india
                    region = custom_sindh
                }
            }
            AND = {
                is_alive = no
                is_ruler = yes
            }
        }
        is_female = no
    }

EDIT: it's for portrait_properties.
 
Last edited:
it does not work for dead ruler, but sometime it work, but for all ruler. I want to make only 1 graphic gfx.

Code:
modifier = {
     factor = 100
     location = {
          OR = {
               region = world_india
               region = custom_sindh
          }
     }
     OR = {
          location = {
               OR = {
                    region = world_india
                    region = custom_sindh
               }
          }
          AND = {
               is_alive = no
               is_ruler = yes
          }
     }
     is_female = no
}
 
Last edited: