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

unmerged(619282)

Sergeant
Dec 22, 2012
86
0
character_event = {
id = 9999999
picture = GFX_evt_emissary
only_rulers = yes

trigger = {
AND = {
OR = {
any_courtier
any_friend
any_dynasty_member
}
}
}
mean_time_to_happen = {
months = 1
modifier = {
factor = 50
independent = yes
}
}
option = {
name = "EVTOPTA9999999"
trigger = {
prestige = 1000
}
prestige = 100
press_claim = {

limit = {
any_pretender_title
}
}
}
option = {
name = "EVTOPTA9999998"
trigger = {
trait = "cruel"
}
prestige = -100
}

}



I want to make an event where a Duke of above recieves an event in wich he is asked to press the claim on a kingdom for his courtier.Can some experienced modder tell me what I did wrong?
 

richvh

Preserver of the Light
63 Badges
Dec 1, 2001
14.691
1.999
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • 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
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
This type of thread ought to be in the User Modifications forum (but you'll need to register your game to get access to it.)

First thing I see is that any_courtier, any_friend, any_dynasty member and any_pretender_title all require right sides, and they also apply to all characters in that category. You also don't have a way to identify which character you're pressing a claim for. You need to fire an event for the character desiring the claim pressed, who then sends an event to his liege/friend/whatever asking him to press the claim.