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

jprik04

Private
62 Badges
Oct 14, 2017
22
0
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • Battle for Bosporus
  • Stellaris: Federations
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Sunset Invasion
  • Stellaris: Lithoids
  • Europa Universalis IV
  • Stellaris: Ancient Relics
  • Prison Architect
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Europa Universalis IV: Res Publica
  • Stellaris: Nemesis
  • Victoria 2
  • Victoria 2: A House Divided
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
https://pastebin.com/AKuhak9X

I am making an event which checks if a Kingdom exists at the start of the game no longer exists. (They are a Pagan kingdom surrounded by enemies and expected to die.) After they are gone and the year is 1076 or later I would like my event to trigger.

The only issue is I can't put into script just exactly how to do this. Any help would be very appreciated.
 
Code:
k_<something> = {
    has_holder = no
}

If the kingdom also becomes inactive, meaning it can't be created outside of event/decision, use this:

Code:
is_title_active = k_<something>
 
I'd like to share you some old style vanilla script,
"events\mongol_events.txt" :7771
Code:
if = {
    limit = {
        NOT = {
            e_mongol_empire = {
                holder_scope = {
                    always = yes
                }
            }
        }
    }
...
Quite the same as above. just change e_mongol_empire into k_whatever_you_want and it should work.
 
And how would I invert this? I am now trying to make a "Civil War Victory" event that recognises when the Kingdom has been reformed.