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

Basileios II

Count of Averland
50 Badges
Sep 18, 2001
559
40
Visit site
  • Tyranny: Archon Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Europa Universalis III: Collection
  • Tyranny: Gold Edition
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • 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 III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • For The Glory
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • War of the Roses
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
As I thought those were great additions I copied the idea for A4K as unification events. Yet event though the requirements are met the event does't fire and can't be triggered manually.

Code:
# Saxony #
event = {
	id = 607001
	trigger = {
		atwar = no
		isvassal = no
		stability = 1
		countrysize = 4
someof = {
            number = 2
                             owned = { province = 329 data = -1 }
                             owned = { province = 331 data = -1 }
                             owned = { province = 332 data = -1 }
}
		NOT = { exists = SAC }
		OR = {
			tag = MEI # Meißen
			tag = SWI # Sachsen-Wittenberg
			tag = ANH # Anhalt
		}
	}

	name = "The Duchy of Saxony"
	desc = "Sir, we have conquered most of the Upper Saxon lands and can now lay claim to the ducal title of Saxony. What shall  we do?"
	
	date = { day = 1 month = january year = 1399 }
	offset = 30
	deathdate = { day = 1 month = january year = 1700 }

	action = {	
		name = "We are Saxony!"
		command = { type = vp value = 50 }
		command = { type = diplomats value = 2 }
		command = { type = addcore_national which = 327 } # Upper Saxon provinces
		command = { type = addcore_national which = 328 }
		command = { type = addcore_national which = 329 }
		command = { type = addcore_national which = 330 }
		command = { type = addcore_national which = 331 }
		command = { type = addcore_national which = 332 }
		command = { type = country which = SAC }
	}

	action = {	
		name = "We are who we are."
		command = { type = provincetax which = -2 value = 3 }
		command = { type = populationpercent which = -2 value = 5 }
		command = { type = relation which = -6 value = 200 }
		command = { type = relation which = -7 value = 100 }
		command = { type = relation which = -7 value = 100 }
		command = { type = relation which = -7 value = 100 }
		command = { type = relation which = -7 value = 100 }
		command = { type = treasury value = 500 }
		command = { type = stability value = 1 }
	}
}

Or can somebody spot an error in the trigger/event?
 
Strange... I pasted that into Swabia's event file, triggered it manually and it worked...
Perhaps you are already using that ID, or you didn't include the file where that event is stored.
 
Never mind. It seems that the event can't trigger when it is inserted into an already running game.
Once I started a new one it worked as a charme.

Thank you for trying, Nein!;)
 
Can somebody spot an error in the trigger/event?


Code:
event = {  # decision on what to claim
    id = 201832
    trigger = {
        ai = no
        OR {
            NOT = { exists = VOL }
            NOT = { exists = POL }
        }
    }
    country = HUN
    name = "Hungarian ambitions"
    action = {
        name = "Halics awaits"
        command = { type = addcore_claim which = 221 }
        command = { type = addcore_claim which = 222 }
        command = { type = addcore_claim which = 223 }
        command = { type = addcore_claim which = 224 }
        command = { type = add_countryculture which = galichan }
}
}
 
Can somebody spot an error in the trigger/event?


Code:
event = {  # decision on what to claim
    id = 201832
    trigger = {
        ai = no
        OR {
            NOT = { exists = VOL }
            NOT = { exists = POL }
        }
    }
    country = HUN
    name = "Hungarian ambitions"
    action = {
        name = "Halics awaits"
        command = { type = addcore_claim which = 221 }
        command = { type = addcore_claim which = 222 }
        command = { type = addcore_claim which = 223 }
        command = { type = addcore_claim which = 224 }
        command = { type = add_countryculture which = galichan }
}
}


I haven't touched FtG in a long while and I don't have it installed on this computer, but surely the name of the culture is galician, not galichan?
 
I haven't touched FtG in a long while and I don't have it installed on this computer, but surely the name of the culture is galician, not galichan?

Yes, the problem is not that area.

The error message is:
Assertion failed: ERROR: (Read event with no actions; possibly has an extra brace) exists = POL Line 931 file = events\A!K_Specific_Hungary.eue