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

Stingray

General
63 Badges
Sep 18, 2002
1.843
710
  • Stellaris - Path to Destruction bundle
  • Europa Universalis: Rome Collectors Edition
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Europa Universalis 4: Emperor
  • Hearts of Iron III
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Darkest Hour
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For The Glory
  • Crusader Kings II
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
I've been trying to get this crappy event of mine working, but I'm on the verdge of giving up. Can anyone please tell me whats wrong ??!!!

#The Holy Roman Empire is united#
event = {

id = 10002
trigger = {
religion = catholic
owned = { province = 402 data = -1 }
owned = { province = 401 data = -1 }
owned = { province = 400 data = -1 }
owned = { province = 389 data = -1 }
owned = { province = 403 data = -1 }
owned = { province = 388 data = -1 }
owned = { province = 1612 data = -1 }
owned = { province = 405 data = -1 }
owned = { province = 404 data = -1 }
owned = { province = 387 data = -1 }
owned = { province = 375 data = -1 }
owned = { province = 377 data = -1 }
owned = { province = 379 data = -1 }
owned = { province = 380 data = -1 }
owned = { province = 340 data = -1 }
owned = { province = 378 data = -1 }
owned = { province = 344 data = -1 }
owned = { province = 339 data = -1 }
owned = { province = 338 data = -1 }
owned = { province = 337 data = -1 }
owned = { province = 343 data = -1 }
owned = { province = 334 data = -1 }
owned = { province = 335 data = -1 }
owned = { province = 333 data = -1 }
owned = { province = 310 data = -1 }
owned = { province = 336 data = -1 }
owned = { province = 346 data = -1 }
owned = { province = 373 data = -1 }
owned = { province = 374 data = -1 }
owned = { province = 372 data = -1 }
owned = { province = 347 data = -1 }
owned = { province = 332 data = -1 }
owned = { province = 306 data = -1 }
owned = { province = 311 data = -1 }
owned = { province = 305 data = -1 }
owned = { province = 304 data = -1 }
owned = { province = 312 data = -1 }
owned = { province = 331 data = -1 }
owned = { province = 330 data = -1 }
owned = { province = 348 data = -1 }
owned = { province = 349 data = -1 }
owned = { province = 371 data = -1 }
owned = { province = 302 data = -1 }
owned = { province = 313 data = -1 }
owned = { province = 314 data = -1 }
owned = { province = 329 data = -1 }
owned = { province = 328 data = -1 }
owned = { province = 327 data = -1 }
owned = { province = 350 data = -1 }
owned = { province = 369 data = -1 }
owned = { province = 351 data = -1 }
owned = { province = 315 data = -1 }
owned = { province = 345 data = -1 }
}
random = no
country = HAB
name = "The holy roman empire"
desc = "The dream has been fullfilled! The empire is about to be united!"
style = 1

date = { day = 1 month = january year 1419 }
offset = 150
deathdate = { day = 1 month = january year 1819 }

action_a { #Unite the empire#
name "Unite the empire"
command = { type stability value 1 }
command = { type relation which = FRA value = -400 }
command = { type relation which = ENG value = -300 }
command = { type relation which = SPA value = -400 }
command = { type relation which = TUR value = -200 }
command = { type relation which = RUS value = -200 }
command = { type relation which = POL value = -400 }
command = { type relation which = SWE value = -300 }
command = { type relation which = DAN value = -400 }
command = { addcore which = 402 }
command = { addcore which = 401 }
command = { addcore which = 400 }
command = { addcore which = 389 }
command = { addcore which = 403 }
command = { addcore which = 388 }
command = { addcore which = 1612 }
command = { addcore which = 405 }
command = { addcore which = 404 }
command = { addcore which = 387 }
command = { addcore which = 375 }
command = { addcore which = 377 }
command = { addcore which = 379 }
command = { addcore which = 380 }
command = { addcore which = 340 }
command = { addcore which = 378 }
command = { addcore which = 344 }
command = { addcore which = 339 }
command = { addcore which = 338 }
command = { addcore which = 337 }
command = { addcore which = 343 }
command = { addcore which = 334 }
command = { addcore which = 335 }
command = { addcore which = 333 }
command = { addcore which = 310 }
command = { addcore which = 336 }
command = { addcore which = 346 }
command = { addcore which = 373 }
command = { addcore which = 374 }
command = { addcore which = 372 }
command = { addcore which = 347 }
command = { addcore which = 332 }
command = { addcore which = 306 }
command = { addcore which = 311 }
command = { addcore which = 305 }
command = { addcore which = 304 }
command = { addcore which = 312 }
command = { addcore which = 331 }
command = { addcore which = 330 }
command = { addcore which = 348 }
command = { addcore which = 349 }
command = { addcore which = 371 }
command = { addcore which = 302 }
command = { addcore which = 313 }
command = { addcore which = 314 }
command = { addcore which = 329 }
command = { addcore which = 328 }
command = { addcore which = 327 }
command = { addcore which = 350 }
command = { addcore which = 369 }
command = { addcore which = 351 }
command = { addcore which = 315 }
command = { addcore which = 345 }
command = { type = treasury value = -500 }
}

action_b { #pass the oppurtunity#
name = "Pass the oppurtunity"
command = { type = stability value = -3 }
}
}
 

Szordrin

Lt. General
Sep 22, 2002
1.284
0
Visit site
There is a file in the eu2 directory that explain the event commands. Comes with the EEP i think!
 

unmerged(7398)

Lt. General
Jan 21, 2002
1.613
0
mozart.atpnet.com
Originally posted by Stingray
date = { day = 1 month = january year = 1419 }
offset = 150
deathdate = { day = 1 month = january year = 1819 }
...
action_a { #Unite the empire#
name "Unite the empire"
command = { type = stability value = 1 }
command = { type = relation which = FRA value = -400 }
(same for the rest of the relations)
command = { type = addcore which = 402 }
(same for the rest of the addcores)
 

Havard

Dark Power
49 Badges
Jun 28, 2001
15.686
170
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Cities: Skylines Industries
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Cities: Skylines - Campus
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Wealth of Nations
  • 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: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • 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
  • Cities: Skylines - After Dark
Originally posted by Stingray
Thanks, I'll see if I can get it right now
And another thing - when asking for help with events it would be of great help if you also mantioned what kind of error you get (event not triggering?, error messages at startup?, freeze at startup? etc) :)