Hey guys,
I'm trying to code the election and for some reason the event won't give me the foreign minister I want (Wolfgang Gerhardt) or the elected President (Hard to imagine a reverse for Vasanta but I will announce the winner and make a post tomorrow if things go well.) I've been trying for a while and I can't get it to work.
It just reverts the President to Romano Prodi, I think his name is.
Here is the code I have written, and I can't find anything wrong with it.
Am I missing something or does someone want to try a new code?
As I said, it fires fine and part of it works but it doesn't give me a foreign minister or President that I tell it to.
event = {
id = 528622
random = no
country = U06
name = "Election"
desc = "The People have voted. Who is the new President?"
date = { day = 1 month = march year = 1004 }
action_a = {
name = "Vasanta de Lyons!"
command = { type = sleepminister which = 392063 }
command = { type = belligerence which = U06 value = 1 }
command = { type = domestic which = political_left value = -5 }
command = { type = domestic which = defense_lobby value = 1 }
command = { type = headofstate which = 528512 }
command = { type = headofgovernment which = 392313 }
command = { type = foreignminister which = 329170 }
command = { type = ministerofsecurity which = 392342 }
command = { type = ministerofintelligence which = 392008 }
command = { type = relation which = IND value = 25 }
command = { type = relation which = AUS value = 100 }
}
}
If anyone could help me out with this, I would greatly appreciate it.