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

Otacon

Generalfeldmarschall
108 Badges
Jan 20, 2010
629
33
  • Sengoku
  • Europa Universalis IV: Mare Nostrum
  • Lead and Gold
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Europa Universalis IV: Cossacks
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Heir to the Throne
  • Ship Simulator Extremes
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Supreme Ruler: Cold War
  • Steel Division: Normand 44 - Second Wave
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Stellaris: Synthetic Dawn
  • Knights of Honor
  • Mount & Blade: Warband
  • Europa Universalis III
  • Arsenal of Democracy
  • Cities in Motion
  • Crusader Kings II
  • 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
  • Hearts of Iron Anthology
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
Okay. I have a problem here that seems absolutely odd. I've made an event which looks as follows:

Code:
event = {
	id = 3000034
	random = no
	persistent = yes
	
	trigger = { }

	name = "EVT_TEST_NAME"
	desc = "EVT_TEST_DESC"
	
	style = 2
	picture = "news_paper"

	action_a = {
		name = "ACTION_NAME_EXCELLENT"
                      command = { }
	}
}

As you may notice, this is an almost exact copy of the Teletank event. Then, for testing purposes, I edited the industry tech tree and made the first synthetic oil tech trigger it:

Code:
# Basic Oil Refining
  application =
  { id        = 5190
    name      = TECH_APP_INDUSTRY_19_NAME

    position  = { x = 308 y = 254 }
	picture   = "5190"
    year      = 1914
    # Basic Distillation
    component = { id = 5191 name = TECH_CMP_INDUSTRY_19_1_NAME type = chemistry difficulty = 1}
    # Basic Cracker
    component = { id = 5192 name = TECH_CMP_INDUSTRY_19_2_NAME type = chemistry difficulty = 1}
    # Basic Isomerisation
    component = { id = 5193 name = TECH_CMP_INDUSTRY_19_3_NAME type = chemistry difficulty = 1}
    # Basic Hydrogen Treatment
    component = { id = 5194 name = TECH_CMP_INDUSTRY_19_4_NAME type = chemistry difficulty = 1}
    # Basic Test Facility
    component = { id = 5195 name = TECH_CMP_INDUSTRY_19_5_NAME type = industrial_engineering difficulty = 1}
    required  = { }
    effects =
    { command = { type = trigger which = 3000034 }
    }
  }

I changed the difficulties so that it can be researched quickly to test it, too.

Problem is: If this tech is researched, absolutely nothing happens. It shows "Trigger the Test Event" in the research screen, but no event fires when it is researched. As it is done the exact same way with the Teletank and Goliat stuff, I wonder why this doesn't work. The funny thing is, that i can trigger it without problems via "event 3000034" in the console. Thanks in advance.