• 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(52819)

Second Lieutenant
Jan 14, 2006
137
0
i'm working on an event chain, that an event A on a country X fires a trigger an event B on a country Y. here's the code below:


Code:
event = { 
	id = 447000
	country = U47 # Tokugawa Shogunate


	date = { day = 9 month = november year = 1867 } 

	name = "Shogunate Prerogatives Restored to Emperor's Disposal" 
	desc = "desc." 
	style = 0 

	action_a = { 
		name = "ACTOK" 
		command = { type = trigger which = 466000 } 
		
	} 	
}



###  Shogunate Prerogatives Restored to Emperor's Disposal

event = { 
	id = 466000
	country = U34 # Matsumae

	
	name = "Shogunate Prerogatives Restored to Emperor's Disposal" 
	desc = "desc." 
	style = 0 

	action_a = { 
		name = "OK" 
		
	} 	
	
}

the trouble is; when i play the country Y, the event B doesn't shows up in the log. but seemingly it pops up "in a blink or worse"

on contrary, when i play the country X, it does have the event A that leads the event B. event comes up. "ACTOK", click. then the log says the country Y had the event B. in the other word, event B does not happen (properly) unless a player clicks "ACTOK" in the event A. that's how i figured so far.

could anyone help on that?
====

eventually found out that there should be "command = { }" was left out.
what a lesson...
 
Last edited: