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

Heavenly Serpent

First Lieutenant
48 Badges
Jun 15, 2017
262
24
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Stellaris
  • Europa Universalis IV
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Jade Dragon
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
So, whenever I create an event or a decision that would send an event from my character to my character, it doesn't fire.

I'm trying to use this basic format to create a decision that will send my character an event:
Code:
decisions = { 
sample_decision = {
potential = {
sample_conditions
}
allow = {
sample_conditions
}
effect = {
character_event = {id = sampleevent.0001}
}
}
}

This doesn't fire the event for my character, and I can't figure out why! Is there something I should be using instead of character_event?
 
If moving it to a different file fixes it, that sounds like one of the events before it has a missing or extra brace. You can confirm this by trying to run the event from the console - if it says the event doesn't exist, that's evidence of bad bracing. You can also confirm this by running your mod through the validator, which will report a syntax error
 
I thought that too! But the event before it (.5) is simple enough that I can be sure the bracing on it is fine, and it runs fine. The event immediately before it is quite complicated (.4) but .5 wouldn't run if .4's bracing was bad, would it?