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

PanzerWilly

The Sleeping God
76 Badges
Jun 21, 2006
642
33
  • Europa Universalis IV: Mare Nostrum
  • 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
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Europa Universalis: Rome
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Hearts of Iron II: Armageddon
  • 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
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
Hello all!

I wrote an event for the readmission of Pennsylvania into the Union. (It's for the Fallout mod). It fires manually but will not fire on its own. Can anybody tell me the problem. All the trigger conditions are met in-game and still no fire.

#Pennsylvania Readmitted
event = {
id = 12010
random = no
country = USA
trigger = {
owned = { province = 608 data = USA }
owned = { province = 609 data = USA }
owned = { province = 610 data = USA }
owned = { province = 611 data = USA }
owned = { province = 614 data = USA }
}

name = "Pennsylvania"
desc = "Pennsylvania is whole again. The people ask to be readmitted to the Union. The darkness is rolled back a bit"
picture = us_great_seal
style = 0

action_a = {
name = "Excellent"
command = { type = addcore which = 608 }
command = { type = addcore which = 609 }
command = { type = addcore which = 610 }
command = { type = addcore which = 611 }
command = { type = addcore which = 614 }
}
}

Thanks in advance. Maybe someone else can see something I'm not.
 

HistoryMan

Colonel
14 Badges
Jun 1, 2004
1.066
0
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • East India Company Collection
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Majesty 2
  • Victoria: Revolutions
  • Semper Fi
  • 500k Club
  • Rise of Prussia
  • Mount & Blade: Warband
  • Achtung Panzer
You have no date, offset or deathdate lines - hence the game has no idea when to start checking for this event.

Without (at the very least) a date line, this event would only fire if triggered by another event or manually.

Tim
 

unmerged(58571)

Field Marshal
Jul 1, 2006
6.288
0
1. Posted code should be enclosed in code tags to preserve indentation.
2. You seem to lack a date or date range for which the event's trigger should be automatically checked.