• 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.
I was wondering, is it possible to write an event that makes 3 random provinces revolt, and adds more divisions than the usual 1-division revolt to each province?
 
Hi, i've been looking through the last few pages and it looks like the sheer volume of requests is stopping most of them from being fulfilled but i thought i'd ask anyway, as mine has probably been done:

i'd simply like an event which gives germany cores on its former african possessions, please. Many thanks.
 
Hey guys. I know nothing about HOI2 events and have run into a little snag in one of my games (my favourite one to date).

I decided to try things differently and supposed that in WW2 after the fall of France, Hitler would take Franco up on his ambitious terms for an alliance. Spain joined the Axis and annexed Portugal, invaded Gibraltar (holding it up until recently, until the UK and allies landed there and made it an impenetrableness fortress of sorrow), kept Italy from utterly failing in Africa, and helping to utterly destroy the USSR.

Now it is 1948, the USSR has had the bitter peace (only to have the crazed Hitler declare war on them again in a desperate attempt to lose the war), Africa is 6-0% ours, and for some reason Japan is not in the Axis but has gotten the USA to declare a war on Axis that it is currently winning.

But I have run into a problem. There are no events for a Spain that has been of equal help to Germany as Italy (in this game that is saying allot more then it would have IRL) and has been promised certain rewards in return for said help.

Basically I'm asking for help to make a quick event (it is just for this game, so it needn't be fancy) that hands over all of French Africa (minus the stuff already considered legally Italy's; once France is done being annexed in the next few months), Gibraltar and the bits of one province UK colonies on the side of French Africa (once the UK surrenders), and the rest of the promises Hitler will probably decide not to grant Franco cause he was a dick like that (and Portugal is already Spain's so it doesn't count).

It would also be nice to have an event that forces a merger of Japan's alliance and the Axis (unless I can figure out a reason for Japan not being in it).

I suppose that equals out to 3 or so events.

Anyway I'd like for someone to either tell me how I can do all this (I don't know how provinces are done in events (the rest I might be able to learn I guess) or just quickly punches a set up for me.

Thanks for the help in advance. If I find the events really good I might just start up a group or something to make a full scenario for what if Spain joined the war in 1940.

Cheers.
 
Can someone pls tell me what's wrong with that event chain? I'm no expert at modding so I'm sure i did many errors. It will be for an AAR. When loading the scenario, there are no problems, but 'advertising for a better future' and 'Colonists in Banat' happen very often (they should appear once) and all the events should appear some time after the next. Here's a pic
colonists_in_banat_www.kepfeltoltes.hu_.jpg



Code:
######################################################
#### VDSR Batschka Events ############################
##### by yxc qwert based on Mishgan's VBH events######
######################################################


##### Introduction Text Events #####


event = {
id = 915000
random = no
country = U00
style = 0

trigger = {
 
}

name = "Die Volksdeutsche SOzialrepublik Batschka"
desc = "The Volksdeutsche Sozialrepublik Batschka (VDSR Batschka) was created when in the chaos of 1918-19-20 the Bartha and Bleyer legions effectively defeated the Serbians and Romanians. As its name tells, it is a predominantly German republic with Hungarian and German as official languages, though these two nations only make out 55% of the population, ruling over a large amount of Serbs and Romanians."

date = { day = 1 month = january year = 1936 }

action_a = {
ai_chance = 1
  name = "Interesting, tell me more!"
  command = { type = trigger which = 915001 }
}

action_b = {
ai_chance = 99
  name = "Yada, yada, just let me play!"
  command = { type = sleepevent which = 915001 }
  command = { type = trigger which = 915100 }
}
}


event = {
id = 915001
random = no
country = U00
style = 0

trigger = {
}

name = "The Volksdeutsche Republik's Interior Situation"
desc = "Administratively, the Republik is subdivided into three Länder: Banat, Batschka, and Temesch. As the country is organised along unitarian lines, the regions have only very little power. Moreover, recent tensions with rural Serbian and Romanian populations has prompted the formation of two specialised security commands for Temesch and Süd-Banat."

action_a = {
  name = "Just what have I gotten myself into?"
  command = { type = trigger which = 915002 }
}
}


event = {
id = 915002
random = no
country = U00
style = 0
trigger = {
}

name = "The Republik's Overall Situation"
desc = "Overall, the Duchy's position is not entirely enviable. You have to help her!"

action_a = {
  name = "Next game, I'm playing Switzerland."
  command = { type = trigger which = 915100 }
}
}


##### Master Choice Event in between AI and Player

event = {
id = 915100
random = no
country = U00
style = 0

trigger = {
  OR = {
   event = 915000
   event = 915002
  }
}

name = "The Republik and its nations"
desc = "Our current situation sucks royally (Serbs, Romanians, wannabe rebels). What shall we do?"
action_a = {

  name = "We have to find a solution, Dr. Obvious!"
  command = { type = trigger which = 915110 }

}
}


#### Pop exchange

event = {
id = 915110
random = no
country = U00
style = 0

trigger = {
  event = 915000
}

name = "Populations exchange"
desc = "The Hungarians and Germans have worked together for a long time. Shall we create something like Switzerland by inviting Romanians and Serbs into governing ranks, or press for a population exchange with them."

action_a = {
  ai_chance = 99
  name = "We are Germans, encourage settlements and population exchanges!"
  command = { type = trigger which = 915111 }
}

 action_b = {
  name = "Serbs, Romanians, Hungarians, Germans... We are all Batschkans!"
  command = { type = dissent value = 6 }
  command = { type = domestic which = freedom value = 4 }
 }
}

##############################
##### The Settler's Path #####
##############################


event = {
id = 915111
persistent = yes
random = no
country = U00
style = 0

trigger = {

}

name = "Advertising for a Better Future!"
desc = "In this period of economic recession, some less fortunate Germans might be more than tempted for a new life with new opportunities in the Volksdeutsche Republik, especially when their expenses are subsidized by the Temeschwar governmen. However, the advertising campaign costs money."

date = { day = 15 month = january year = 1936 }
offset = 15
deathdate = { day = 15 month = january year = 1945 }  # VBH has all the time to decide...

action_a = {
  ai_chance = 99
  name = "It shall cost what it shall cost."
  command = { type = money value = -10 }
  command = { type = domestic which = freedom value = -1 }
  command = { type = domestic which = interventionism value = 1 }
  command = { type = domestic which = defense_lobby value = 1 }
  command = { type = dissent value = 1 }
  command = { type = trigger which = 915113 }
  
}

action_b = {
  ai_chance = 1
  name = "It is far too early."
  command = { }
}
}

event = {
id = 915113
persistent = yes
random = no
country = U00
style = 0

trigger = {

}

name = "Colonists in Banat."
desc = "The Office of Immigration and Settlement has reported an important number of applications for the Colonist Subsidies. The area of settlement appears to be Weisskirchen (Fehértemplom) and the Deliblat, close to the border with Yugoslavia. This can only come as good news to us and bad news for wannabe rebels and troublemakers playing the fake card of national identity!" #Now THAT is RAWR!

date = { day = 1 month = march year = 1936 } #Advertising campaigns take time.
offset = 15
deathdate = {day = 1 month = june year = 1945 } #Plety of time to decide!

action_a = {
  ai_chance = 99
  name = "Welcome them with open arms!"
  command = { type = manpowerpool value = 5 }
  command = { type = money value -20 }
  command = { type = domestic which = interventionism value = 1 }
  command = { type = domestic which = defense_lobby value = 1 }
  command = { type = dissent value = 1 }
  command = { type = trigger which = 915211}
}

action_b = {
  ai_chance = 1
  name = "Wait for now, there is time."
  command = { }
}
}


event = {
id = 915211 # According to the law of manpower conservation, manpower does not pop out of nowhere. Manpower gained in LAT means manpower lost in GER.
random = no
country = GER
style = 0

trigger = {
 
}

name = "Citizens leave for Donauschwabenland."
desc = "A number of the more improverished of our citizens have taken up on the offer of Jakob Bleyer, Kanzler of the VDSR Batschka, and moved to the south of the country."

action_a = {
  name = "May they find wealth there."
  command = { type = manpowerpool value = -5 }
  command = { type = trigger which = 915215}
}
}

event = {
id = 915215 # leaving a whole 4 ID slots for potential event expansions.
random = no
country = U00
style = 0

trigger = {
  local_flag = VBHinteg_step3
}

name = "Süd-Banat is German!"
desc = "The Ducal Office of Immigration and Settlement reports that according to the latest census, the number of Ducal citizens of German descent in the Banat Statistical Area has increased sharply, with settlers cementing the Republik on the areas previously outside of full government control."

date = { day = 1 month = november year = 1936 }
offset = 100
deathdate = { day = 1 month = november year = 1946 }

action_a = {
  name = "der Süd-Banat ist Deutsch!"
  command = { type = money value = -10 }
  command = { type = manpower value = 5 }
  command = { type = dissent value = 5 } #The Latvians are not happy with all the Brutwurst.
  command = { type = construct which = ic where = 494 value = 1 }
  command = { type = domestic which = interventionism value = 1 }
  command = { type = domestic which = defense_lobby value = 1 }
  command = { type = trigger which = 915216 }
  }
}

event = {
id = 915216 # GER Manpower hit due to migration
random = no
country = GER
style = 0

trigger = {
 
  }

name = "Citizens leave for Donauschwabenland."
desc = "The Government of the VDSR Batschka informs us that the number of German speakers in one of the Lander has attained sufficient level to exercise full government authority over the area without fear of local uprisings."

action_a = {
  name = "Excellent news, I guess."
  command = { type = manpowerpool value = -5 }
}
}


 
 
event = {
id = 915220
persistent = yes
random = no
country = U00
style = 0

trigger = {
  local_flag = VBHinteg_step3
  event = 915215 #No Livland colonisation before Kurland ist Deutsch!
}

name = "Nord Temesch draws interest."
desc = "The Office of Immigration and Settlement has indicated that the number of subsidy applications for settlers aiming to establish themselves in Livland has been steadily growing. This can be explained by both an increased confidence that the Ducal government can efficiently defend the interests of colonists, as well as by the important number of colonists already in Kurland."


date = { day = 1 month = june year = 1937 }
offset = 15
deathdate = {day = 1 month = june year = 1949 } #Plety of time to decide!

action_a = {
  ai_chance = 99
  name = "Population exchange with Romania!"
  command = { type = manpowerpool value = 3}
  command = { type = money value -10 }
  command = { type = local_clrflag which = VBHinteg_step3 }
  command = { type = local_setflag which = VBHinteg_step4 }
  command = { type = domestic which = interventionism value = 1 }
  command = { type = domestic which = defense_lobby value = 1 }
  command = { type = dissent value = 1 }
  command = { type = trigger which = 915221}
}

action_b = {
  ai_chance = 1
  name = "Wait for now, there is time."
  command = { }
}
}


event = {
id = 915221 # According to the law of manpower conservation, manpower does not pop out of nowhere. Manpower gained in LAT means manpower lost in GER.
random = no
country = ROM
style = 0

trigger = {
 
}

name = "Population exchange with the Schwabians."
desc = "A number of the more improverished of our citizens have taken up on the offer of Adol Friedrich I, Duke of Mecklenburg-Schwerin and the United Baltic Duchy, and moved to his Baltic domains."

action_a = {
  name = "Well those Germans suck anyway. Plus we have our own Romanians back!"
  command = { type = manpowerpool value = 3}
  command = { type = removecore which = 495 }
}
}



event = {
id = 915225
random = no
country = U00
style = 0

trigger = {
  local_flag = VBHinteg_step4
}

name = "Temesch is German!"
desc = "The Ducal Office of Immigration and Settlement reports that according to the latest census, the number of Ducal citizens of German descent in the Temesch Statistical Area has increased sharply, with settlers cementing the Republik's control on the areas previously outside of full government control."

date = { day = 1 month = november year = 1937 }
offset = 100
deathdate = { day = 1 month = november year = 1949 }

action_a = {
  name = "Temesch ist Deutsch!"
  command = { type = money value = -10 }
  command = { type = manpower value = 5 }
  command = { type = dissent value = 1 } #The Estonians and the Voros are not happy with all the Brutwurst.
  command = { type = construct which = ic where = 495 value = 1 }
  command = { type = domestic which = interventionism value = 1 }
  command = { type = domestic which = defense_lobby value = 1 }
  command = { type = trigger which = 915226 }
  }
}

event = {
id = 915226 # GER Manpower hit due to migration
random = no
country = ROM
style = 0

trigger = {
 
  }

name = "Donauschwabenland is the immigrant hit no.1"
desc = "The Government of the Volksdeutsche Republik informs us that the number of German speakers in one of the Lander has attained sufficient level to exercise full government authority over the area without fear of local uprisings. We also got some of our brothers back."

action_a = {
  name = "What are we going to do with all these homeless people?"
  command = { type = manpowerpool value = 1 }
  command = { type = dissent value = 2 } 
}
}

event = {
id = 915230
persistent = yes
random = no
country = U00
style = 0

trigger = {
  local_flag = VBHinteg_step4
  event = 915225 #No Estland colonisation before Livland ist Deutsch!
}

name = "Population exchange with Yugoslavia."
desc = "The Office of Immigration and Settlement has indicated that the number of subsidy applications for settlers aiming to establish themselves in Batschka has been steadily growing. This can be explained by both an increased confidence that the Ducal government can efficiently defend the interests of colonists, as well as by the important number of colonists already in Temesch."


date = { day = 1 month = february year = 1938 }
offset = 15
deathdate = {day = 1 month = june year = 1949 } #Plety of time to decide!

action_a = {
  ai_chance = 99
  name = "Press for it, we have Germany behind us!"
  command = { type = manpowerpool value = 2 }
  command = { type = money value -10 }
  command = { type = local_clrflag which = VBHinteg_step4 }
  command = { type = local_setflag which = VBHinteg_step5 }
  command = { type = domestic which = interventionism value = 1 }
  command = { type = domestic which = defense_lobby value = 1 }
  command = { type = dissent value = 1 }
  command = { type = trigger which = 915231}
}

action_b = {
  ai_chance = 1
  name = "Wait for now, there is time."
  command = { }
}
}

event = {
id = 915231 # According to the law of manpower conservation, manpower does not pop out of nowhere. Manpower gained in LAT means manpower lost in GER.
random = no
country = YUG
style = 0

trigger = {
 
}

name = "Populations exchange with the Donauschwabians."
desc = "A number of the more improverished of our citizens have taken up on the offer of Adol Friedrich I, Duke of Mecklenburg-Schwerin and the United Baltic Duchy, and moved to his Baltic domains."

action_a = {
  name = "Those Germans suck anyway, plus we have our brothers back"
  command = { type = manpowerpool value = -2 }
  command = { type = removecore which = 493 }
  command = { type = removecore which = 494 }
}
}

event = {
id = 915235
random = no
country = U00
style = 0

trigger = {
  local_flag = VBHinteg_step5
}

name = "Süd-Batschka and the Banat is German!"
desc = "The Ducal Office of Immigration and Settlement reports that according to the latest census, the number of Ducal citizens of German descent in the Estland Statistical Area has increased sharply, with settlers cementing the Ducal hold on the areas previously outside of full government control."

date = { day = 1 month = august year = 1938 }
offset = 100
deathdate = { day = 1 month = november year = 1949 }

action_a = {
  name = "Estland ist Deutsch!"
  command = { type = money value = -10 }
  command = { type = manpower value = 5 }
  command = { type = dissent value = 1 } #The Latvians and the Voros are not happy with all the Brutwurst.
  command = { type = construct which = ic where = 493 value = 1 }
  command = { type = domestic which = interventionism value = 1 }
  command = { type = domestic which = defense_lobby value = 1 }
  command = { type = trigger which = 915236 }
  command = { type = local_clrflag which = VBHinteg_step5 }
  }
}

event = {
id = 915236 # GER Manpower hit due to emmigration
random = no
country = YUG
style = 0

trigger = {
 
  }

name = "Pop exchange - Done!."
desc = "The Government VDSR Batschka informs us that the number of German speakers in one of the Lander has attained sufficient level to exercise full government authority over the area without fear of local uprisings."

action_a = {
  name = "What are we going to do with all these new people?."
  command = { type = manpowerpool value = 2 }
}
}


event = {
id = 915240
persistent = yes
random = no
country = U00
style 0

trigger = {
  owned = { province = 452 data = GER }
  OR = {
        owned = { province = 456 data = GER }
        owned = { province = 492 data = GER }
	   	}
}

name = "To Join or Not to Join?"
desc = "With all the Republik all firmly under government control, and with Germans now accounting for roughly a half of the total population, the Republik is now eligible to become a Gau in the Greater German Reich. Of course, other options are possible..."

date = { day = 1 month = july year = 1939 }
offset = 100
deathdate = { day = 1 month = november year = 1949 }


action_a = {
  ai_chance = 10
  name = "Become part of the Greater German Reich."
  command = { type = trigger which = 915250 }
  }

action_b = {
  ai_chance = 89
  name = "Maintain the status quo."
  command = { type = relation which = GER value = -10 } # The Führer wants your pixelz.
  }

action_c = {
  ai_chance = 1
  name = "Emancipate from Nazi rule."
  command = 
  command = { type = relation which = GER value = -100 } # The Führer still wants your pixelz.
  command = { type = local_clrflag which = VBHinteg_step6 }
  command = { type = leave_alliance }
  }
}

event = {
id = 915250
random = no
country = GER
style = 0

trigger = {

}

name = "A new Gau in the Reich!"
desc = "We annexed that wasteland called Donauschwabenland. How pathetic."

action_a = {
  name = "Sieg Heil the Greater German Reich!"
  command = { type = inherit which = U00 }
  command = { type = addcore which = 493 }
  command = { type = addcore which = 495 }
  command = { type = addcore which = 494 }

}
}
 
Last edited:
Hey all. I need a little help here.
This is for HOI2 Arm 1.3beta. I've basically modified the Hitler Assassination event in order to leave most of the same guys in charge but make Rommel head of state. This is for my special AAR "The Razor's Edge" (Germany 1944). Since my ministers weren't working, BestMajor over at Stony Road was kind enough to make a minister file for me with Rommel added as a potential HoS.
It worked at first, but now it suddenly doesn't. It's making most of the intended changes, but then instead of Rommel it puts Göring as HoS. I assume that the problem is with my event, but I can't figure out what. It might also still be the ministers, although unlikely. I added the relevant text from both files to the end of this post and would appreciate any pointers.
Cheers,
GD

250;Minister of Security;Rudolf Diels;36;PA;Crime Fighter;Medium;M250;x
251;Minister of Armament;Gustav Krupp;36;FA;Tank Proponent;High;M251;x
252;Minister of Armament;Fritz Saukel;42;NS;Infantry Proponent;High;M252;x
255;Chief of Air Force;Hans Ulrich Rudel;49;FA;Air Superiority Doctrine;Medium;L464;x
256;Head of State;Erwin Rommel;44;PA;Resigned Generalissimo;High;M165;x"

action_a = {
name = "OK" #
command = { type = set_domestic which = democratic value = 6 }
command = { type = set_domestic which = political_left value = 2 }

command = { type = headofstate which = 256 }
command = { type = headofgovernment which = 42 }
command = { type = foreignminister which = 55 }
command = { type = armamentminister which = 86 }
command = { type = ministerofsecurity which = 110 }
command = { type = ministerofintelligence which = 138 }
command = { type = chiefofstaff which = 157 }
command = { type = chiefofarmy which = 187 }
command = { type = chiefofnavy which = 192 }
command = { type = chiefofair which = 10 }

command = { type = sleepminister which = 1 } #


command = { type = dissent value = 15 }
command = { type = sleepevent which = 2026 }

}
 
Could somebody tell me what's wrong with this event?
Code:
event = {
	id = 102
	random = no
	country = U00
	trigger = { atwar = no }
	date = { day = 1 month = january year = 1936 }
	name = "EVT_3200_NAME"
desc = "EVT_3200_DESC"
style = 0
picture = "Winter_War"
	
	action_a = {
		name = "OK"
		command = { type = inherit which = AUS }
		command = { type = add_division which = "division1" value = bergsjaeger when = 0 } 
		command = { type = add_division which = "division12" value = bergsjaeger when = 0 } 
		command = { type = add_division which = "division13" value = bergsjaeger when = 0 } 
		}
}

Strange, it works now
 
Last edited:
Could someone write me an event (fortress of democracy or sth) that gives Ai - USA about 250IC, 3000 manpower and some inf divisions, and also brings Mexico and the rest of central american states (north of Colon) to the Allies? I'm playing as Soviet Union, it's 1949, my IC effective IC is about 1000 and I want to have a little more fun :).
 
}
}

event = {
id = 766883
random = no
country = CAN

name = "Victoria Day"
desc = "Today the people of Canada celebrate the birthday of the first Queen of a confederated Canada. As well as the current monarchs birthday."
style = 0
picture = "victoria"

date = { day = 24 month = May year = 1936 }

action_a = {
name = "Let us all give a toast"
command = { type = dissent value = 1 }
}
}

What did I do wrong with this event? I cannot get it to fire.
 
Can someone pls tell me what's wrong with that event chain? I'm no expert at modding so I'm sure i did many errors. It will be for an AAR. When loading the scenario, there are no problems, but 'advertising for a better future' and 'Colonists in Banat' happen very often (they should appear once) and all the events should appear some time after the next. Here's a pic

Your events 915111 & 915113 have the line "persistent = yes" in their header section - thus, they will fire every time their offset comes up (every 15 days or so). Remove that line from the two events, and they should fire only once each.

Tim
 
Can someone make a event that makes italy have cores in its aciant roman empire at its peak?
 
There's a " at the end of the line, maybe that's it?

I removed it, but that hasn't fixed the problem...I'm supposed to have a blank line at the end, right?
 
Good afternoon chaps and chapettes. I'm rather new to modding in HoI2, in fact I started a couple of days ago. I've made a new country (Scania, consist of the region Malmö), its ministers, military leaders, made it playable and tried playing as it. It all works as I presumed, apart for the fact that the scripted events I've written for it never appear. For example, Scania is supposed to be able to intervene in the Finnish Winter war, seeing as they're practically Swedish, and to allow that I basically copied off the Swedish event text and changed it to fit Scania:

Code:
#########################################################################
#  The Finnish Winter War - Scanian Intervention
#########################################################################
event = {
	id = 8000
	random = no
	country = U11

	trigger = {
		war = { country = SOV country = FIN }
		event = 2621 #Finnish Winter War-Demands rejected
		}
		NOT = {
			alliance = { country = FIN country = GER }
			alliance = { country = U11 country = GER }
			alliance = { country = U11 country = ENG }
			alliance = { country = U11 country = SOV }
		}
	}

	name = "The Finnish Winter War"
	desc = "When Finland was attacked by the Soviet Union, the Scanian people demanded that the government intervened on behalf of the Finns. After all, even though they were now separate peoples, the Scanians and the Swedes both shared many bonds with the Finns, and the mob wanted a military intervention to be signed by their government."
        picture = "Winter_War"
	style = 0

	date = { day = 17 month = july year = 1936 }
	offset = 7
	deathdate = { day = 31 month = december year = 1947 }

	action_a = {
		name = "ACTIONNAME3300A" # Intervene for our brother people!
		ai_chance = 80
		command = { type = belligerence which = U11 value = 1 }
		command = { type = alliance which = FIN }
#		command = { type = war which = SOV }
		command = { type = interventionism value = 1 }
		command = { type = political_left value = -1 }
		command = { type = relation which = FIN value = 25 }
		command = { type = relation which = NOR value = 10 }
		command = { type = relation which = SWE value = 20 }
		command = { type = trigger which = 3205 } # FIN
		command = { type = access which = SWE }
	}
	action_b = {
		name = "ACTIONNAME3300B" # Send volunteers and materiel
		ai_chance = 10
		command = { type = manpowerpool value = -10 }
		command = { type = supplies value = -1000 }
		command = { type = relation which = SOV value = -20 }
		command = { type = relation which = FIN value = 10 }
		command = { type = relation which = NOR value = 5 }
		command = { type = relation which = SWE value = 5 }
		command = { type = trigger which = 3204 } # FIN
	}
	action_c = {
		name = "Their war, their business"
		ai_chance = 10
		command = { type = dissent value = 10 }
		command = { type = relation which = SOV value = 5 }
		command = { type = relation which = FIN value = -20 }
		command = { type = relation which = NOR value = -10 }
		command = { type = relation which = SWE value = -15 }
		command = { type = interventionism value = -1 }
		command = { type = political_left value = 3 }
		command = { type = belligerence which = U11 value = -2 }
	}
}

The problem is that it doesn't appear at all. I would really appreciate some help. I don't know if this is the one right thread to ask this in, but seeing as it seems to be a general events thread as well as requests thread, I'll take my chances.

Cheerios, Basse.
 
Right, I managed to figure that one out myself after a little while. Now I have an even bigger problem. When the game has started off, 1936, and the date becomes January 2, the game stops. It doesn't freeze, you can still move your troops, declare wars et al. But nothing moves. It just freezes completely. And I have no idea why. It didn't happen when the script wasn't in it, and apart for the script I've changed nothing since when it worked. So, my question is, what in this script could possibly make this happen? :confused:

Code:
#
# HoI - Scania Events
#
#		written by Basse Wilnerzon
#

#########################################################################
#  The Finnish Winter War - Scanian Intervention
#########################################################################
event = {
	id = 9000
	random = no
	country = U11

	trigger = {
		war = { country = SOV country = FIN }
		event =  2621 #Finnish Winter War-Demands rejected
		
		NOT = {
			alliance = { country = FIN country = GER }
			alliance = { country = U11 country = GER }
			alliance = { country = U11 country = ENG }
			alliance = { country = U11 country = SOV }
		}
	}

	name = "EVT_9000_NAME"
	desc = "EVT_9000_DESC"
        picture = "Winter_War"
	style = 0

	date = { day = 17 month = july year = 1936 }
	offset = 7
	deathdate = { day = 31 month = december year = 1947 }

	action_a = {
		name = "ACTIONNAME3300A" # Intervene for our brother people!
		ai_chance = 80
		command = { type = belligerence which = U11 value = 1 }
		command = { type = alliance which = FIN }
		command = { type = war which = SOV }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = domestic which = political_left value = -1 }
		command = { type = relation which = FIN value = 25 }
		command = { type = relation which = NOR value = 10 }
		command = { type = relation which = SWE value = 20 }
		command = { type = trigger which = 3205 } # FIN
		command = { type = access which = SWE }
	}
	action_b = {
		name = "ACTIONNAME3300B" # Send volunteers and materiel
		ai_chance = 10
		command = { type = manpowerpool value = -10 }
		command = { type = supplies value = -1000 }
		command = { type = relation which = SOV value = -20 }
		command = { type = relation which = FIN value = 10 }
		command = { type = relation which = NOR value = 5 }
		command = { type = relation which = SWE value = 5 }
		command = { type = trigger which = 3204 } # FIN
	}
	action_c = {
		name = "ACTIONNAME9000C" # Their war, their business
		ai_chance = 10
		command = { type = dissent value = 10 }
		command = { type = relation which = SOV value = 5 }
		command = { type = relation which = FIN value = -20 }
		command = { type = relation which = NOR value = -10 }
		command = { type = relation which = SWE value = -15 }
		command = { type = domestic which = interventionism value = -1 }
		command = { type = domestic which = political_left value = 3 }
		command = { type = belligerence which = U11 value = -2 }
	}
}
#########################################################################
#  Taking Eastern Denmark
#########################################################################
event = {
	id = 9001
	random = no
	country = U11

	trigger = {
			owned = { province = 294 data = GER } #Copenhagen
			owned = { province = 293 data = GER } #Odense
			owned = { province = 295 data = GER } #Bornholm
	NOT = { 
		exists = DEN
		}
	}

	name = "EVT_9001_NAME"
	desc = "EVT_9001_DESC"
	style = 0
	picture = "german_replacements"

	date = { day = 1 month = january year = 1936 }
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = "ACTIONNAME9001A" # NEVAR!
		ai_chance = 15
		command = { type = relation which = SOV value = 5 }
		command = { type = relation which = ENG value = 20 }
		command = { type = relation which = FRA value = 15 }
		command = { type = relation which = GER value = -50 }
		command = { type = relation which = SWE value = 10 }
		command = { type = relation which = NOR value = 5 }
		command = { type = domestic which = political_left value = 1 }
		command = { type = domestic which = interventionism value = -1 }
		command = { type = dissent value = 10 }
		command = { type = trigger which = 9002 } # Communist-Feminist Coup d'État
	}
	action_b = {
		name = "ACTIONNAME9001B" # Take the land, not the ally
		ai_chance = 70
		command = { type = control which = U11 value = 294 } #Copenhagen
		command = { type = control which = U11 value = 293 } #Odense
		command = { type = control which = U11 value = 295 } #Bornholm
		command = { type = relation which = SOV value = -5 }
		command = { type = relation which = ENG value = 10 }
		command = { type = relation which = FRA value = 5 }
		command = { type = relation which = GER value = -10 }
		command = { type = relation which = NOR value = -5 }
		command = { type = dissent value = -5 }
		command = { type = manpowerpool value = 15 }
		command = { type = money value = 1000 }
		command = { type = trigger which = 9003 } # Liberal Coup d'État
	}
	action_c = {
		name = "ACTIONNAME9001C" # Heil Hitler!
		ai_chance = 15
		command = { type = control which = U11 value = 294 } #Copenhagen
		command = { type = control which = U11 value = 293 } #Odense
		command = { type = control which = U11 value = 295 } #Bornholm
		command = { type = relation which = SOV value = -50 }
		command = { type = relation which = ENG value = -25 }
		command = { type = relation which = FRA value = -30 }
		command = { type = relation which = GER value = 50 }
		command = { type = relation which = SWE value = -10 }
		command = { type = relation which = NOR value = -15 }
		command = { type = dissent value = 5 }
		command = { type = manpowerpool value = 15 }
		command = { type = money value = 1000 }
		command = { type = alliance which = GER }
		command = { type = access which = GER }
		command = { type = set_domestic which = democratic value = -2 }
		command = { type = domestic which = political_left value = -3 }
		command = { type = domestic which = freedom value = -2 }
		command = { type = headofstate which = 530 }
		command = { type = headofgovernment which = 531 }
		command = { type = ministerofsecurity which = 534 }
		command = { type = chiefofarmy which = 507 }
		command = { type = belligerence which = U11 value = 5 }
		command = { type = trigger which = 9006 } # Claim Goetaland
	}
}

#########################################################################
#  Communist-Feminist Coup d'État
#########################################################################
event = {
	id = 9002
	random = no
	country = U11

	# Triggered by 9001

	name = "EVT_9002_NAME"
	desc = "EVT_9002_DESC"
	style = 0
	picture = "coup"

	date = { day = 1 month = january year = 1941 }
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = "ACTIONNAME9002A"
		ai_chance = 100
		command = { type = relation which = SOV value = 50 }
		command = { type = relation which = GER value = -50 }
		command = { type = relation which = SWE value = -10 }
		command = { type = dissent value = -2 }
		command = { type = domestic which = democratic value = -2 }
		command = { type = domestic which = political_left value = 5 }
		command = { type = domestic which = freedom value = -2 }
		command = { type = headofstate which = 520 }
		command = { type = headofgovernment which = 521 }
		command = { type = foreignminister which = 522 }
		command = { type = armamentminister which = 523 }
		command = { type = ministerofsecurity which = 524 }
		command = { type = ministerofintelligence which = 525 }
		command = { type = chiefofstaff which = 526 }
		command = { type = chiefofarmy which = 527 }
		command = { type = chiefofnavy which = 528 }
		command = { type = chiefofair which = 529 }
	}
}			

#########################################################################
#  Liberal Coup d'État
#########################################################################
event = {
	id = 9003
	random = no
	country = U11

	# Triggered by 9001

	name = "EVT_9003_NAME"
	desc = "EVT_9003_DESC"
	style = 0
	picture = "coup"

	date = { day = 1 month = january year = 1941 }
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = "ACTIONNAME9002A"
		ai_chance = 100
		command = { type = relation which = SOV value = -20 }
		command = { type = relation which = GER value = -20 }
		command = { type = relation which = SWE value = 30 }
		command = { type = relation which = ENG value = 20 }
		command = { type = relation which = USA value = 20 }
		command = { type = dissent value = -2 }
		command = { type = domestic which = democratic value = 3 }
		command = { type = domestic which = political_left value = -3 }
		command = { type = domestic which = freedom value = 3 }
		command = { type = domestic which = free_market value = 2 }
		command = { type = headofstate which = 510 }
		command = { type = headofgovernment which = 511 }
		command = { type = foreignminister which = 512 }
		command = { type = armamentminister which = 513 }
		command = { type = ministerofsecurity which = 514 }
		command = { type = ministerofintelligence which = 515 }
		command = { type = chiefofstaff which = 516 }
		command = { type = chiefofarmy which = 517 }
		command = { type = chiefofnavy which = 518 }
		command = { type = chiefofair which = 519 }
	}
}			

#########################################################################
#  Claiming northern Germany
#########################################################################
event = {
	id = 9004
	random = no
	country = U11

	trigger = {
			relation = { which = GER value = 175 }
			NOT = {
				OR = {
				alliance = { country = U11 country = GER }
				alliance = { country = U11 country = ENG }
				}
			}
	}

	name = "EVT_9004_NAME"
	desc = "EVT_9004_DESC"
	style = 0
	picture = "bolivia"

	date = { day = 1 month = january year = 1936 }
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = "ACTIONNAME9004A" 
		ai_chance = 80
		command = { type = trigger which = 9005 } # gain northern Germany 
	}
	action_b = {
		name = "ACTIONNAME9004B" 
		ai_chance = 20
		command = { type = domestic which = interventionism value = -1 }
		command = { type = dissent value = 3 }
		}
}

#########################################################################
#  Claiming northern Germany - Success!
#########################################################################
event = {
	id = 9005
	random = no
	country = U11

	# Triggered by U11 9004
	
	name = "EVT_9005_NAME"
	desc = "EVT_9005_DESC"
	style = 0
	picture = "bolivia"
	
	action_a = {
		name = "ACTIONNAME9002A"
		ai_chance = 100
		command = { type = control which = U11 value = 89 } #Lübeck
		command = { type = control which = U11 value = 296 } #Rostock
		command = { type = control which = U11 value = 301 } #Stralsund
		command = { type = control which = U11 value = 302 } #Stettin
		command = { type = relation which = SOV value = -10 }
		command = { type = relation which = ENG value = -5 }
		command = { type = relation which = FRA value = -5 }
		command = { type = relation which = GER value = 15 }
		command = { type = dissent value = -5 }
		command = { type = manpowerpool value = 15 }
		command = { type = money value = 1000 }
		command = { type = belligerence which = U11 value = 5 }
	}
}

#########################################################################
#  Claiming Goetaland - Success! 
#########################################################################
event = {
	id = 9006
	random = no
	country = U11

	# Triggered by U11 9001
	
	name = "EVT_9006_NAME"
	desc = "EVT_9006_DESC"
	style = 0
	picture = "15th_army"

	action_a = {
		name = "ACTIONNAME9006A"
		ai_chance = 100
		command = { type = control which = U11 value = 95 } #Karlskrona
		command = { type = control which = U11 value = 96 } #Gotland
		command = { type = relation which = ENG value = -10 }
		command = { type = relation which = FRA value = -10 }
		command = { type = relation which = GER value = 10 }
		command = { type = relation which = SWE value = -50 }
		command = { type = dissent value = -5 }
		command = { type = manpowerpool value = 5 }
		command = { type = money value = 200 }
		command = { type = belligerence which = U11 value = 5 }
	}
}