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

chepaeff

Absolutely heretical
5 Badges
Aug 9, 2009
1.186
8.045
  • Darkest Hour
  • Crusader Kings III
  • 500k Club
I've made a chain of events. The 2643 event (I put it in DoD.txt) happens in 1933 scenario, I wanted 2614 event to work in both 33 and 36 scenario so I put OR in trigger, but it doesn't seem to work in 36. What am I doing wrong?

Code:
event = {
	id = 2614
	random = no
	country = SOV
	
	trigger = {
		event = 2643 # Moscow Terrorist Center case	
		OR = {
			headofstate = 30074 
		}
	}
	
	name = "EVT_2614_NAME"
	desc = "EVT_2614_DESC"
        picture = "f_mostr"
	style = 2

	date = { day = 16 month = august year = 1936 }

	action_a = {
		name = "ACTIONNAME2614A" # No mercy!
		ai_chance = 100
        command = { trigger = { ai = no } type = dissent value = 3 }
		command = { trigger = { ai = yes ai = GER } type = dissent value = 3 }
	}
}

Btw, wasn't there a thread for modding questions?
 
What exactly happens? Does the game crash, or the event simply won't trigger?

Maybe the OR condition confuses the game, as you have only one condition in this parenthesis. Try to add a second condition and see if it works.
 
Let's take advantage of this thread:
Why these 2 are valid...
trigger = { event = 4607 }
trigger = { event = 4607 event = 4608 }
...but no this?
trigger = { OR = { event = 4607 event = 4608 } }

EDIT: Forget it. Was a missing "=".
 
Last edited: