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

Palaiologos

Colonel
86 Badges
Apr 23, 2007
906
380
  • Europa Universalis IV: Common Sense
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis: Rome
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Hearts of Iron 4: Arms Against Tyranny
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • Europa Universalis IV: Res Publica
Whats wrong with event?
If i remove the offset the game starts normally but crashes on January 2. If i add an offset the event never fires even if the conditions are met. Province 359 is Tirana.
I've tried with both owned nad controll trigers btw.


####################################
# Greece prepares for war 2
######################################

event = {
id = 2269012
random = no
country = GRE
style = 2

trigger = {
owned = { province = 359 = ITA }
NOT = {
policy = { type = professional_army value = 7 }
alliance = { country = GRE country = ITA }
alliance = { country = GRE country = GER }
}
}

name = "We will be next"
desc = "The annexation of neighboring Albania left no doubt for Italy's ambitions. Their continued provocations, military preparations and constant encroachment on the Balkans made it clear to the Greek high command that war was imminent. Mobilization plan 1939B was secretly put into effect."

picture = "Metaxas"

date = { day = 2 month = january year = 1936 }
offset = 20
deathdate = { day = 29 month = september year = 1944 }

action_a = {
ai_chance = 100
name = "The Italians are in for a surprise(partial mobilization)"
command = { type = set_domestic which = professional_army value = 7 }
command = { type = resource which = supplies value = -500 }
command = { type = relation which = ITA value = -10 }
command = { trigger = { NOT = { local_flag = MOB3 } } type = manpowerpool value = 2.5 when = 1 }
command = { trigger = { NOT = { local_flag = MOB4 } } type = manpowerpool value = 4 when = 1 }
command = { trigger = { NOT = { local_flag = MOB5 } } type = manpowerpool value = 4.5 when = 1 }
command = { trigger = { NOT = { local_flag = MOB6 } } type = manpowerpool value = 5 when = 1 }
command = { trigger = { NOT = { local_flag = MOB7 } } type = manpowerpool value = 15 when = 1 }
command = { type = local_setflag which = MOB7 }
command = { type = local_setflag which = MOB6 }
command = { type = local_setflag which = MOB5 }
command = { type = local_setflag which = MOB4 }
command = { type = local_setflag which = MOB3 }
}
action_b = {
ai_chance = 0
name = "The Duce is a man of peace"
command = { type = domestic which = interventionism value = -1 }
command = { type = relation which = ITA value = 10 }
}
}