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

Duuk

Reformed Badboy
23 Badges
Oct 16, 2001
6.137
1.402
  • Majesty 2
  • Europa Universalis III: Collection
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Majesty 2 Collection
  • Hearts of Iron Anthology
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
Code:
event = {
	id = 55037
	random = yes
	name = "The Ties that Bind"
	desc = "With nobles being allocated lands in newly acquired provinces the lands found themselves claimed by a King who may have only recently took possession of the lands.  Sometimes the locals even accepted this new status."
	action_a = {
		name = "Ah yes, a fine place for my brother's cousin"
		command = { type = addcore which = -1 }
	}
}

When I trigger this event manually, I get "CommandList A is currently invalid."

Any ideas why that would be the case?
 

kelumden

Second Lieutenant
11 Badges
Jan 4, 2004
104
0
  • Arsenal of Democracy
  • Darkest Hour
  • Europa Universalis III Complete
  • For The Glory
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Rome Gold
  • Sword of the Stars
  • Victoria 2
  • 500k Club
  • Pride of Nations
At first sight, I think the problem lies with your command:

Code:
command = { type = addcore which = [COLOR=Magenta]-1[/COLOR] }

The event being random triggers for any country. You want to add a province as a core of this country. But which province ? -1 should refer to a random province owned by the country, but it seems from Harvard's site that -1 is not supported by the command addcore so you end up with an error.

The solution is to tell which province you want to add. But this will certainly destroy the purpose of your event !
 

Kaigon

Cake or Death?
48 Badges
Mar 15, 2002
4.216
0
kaigon.ripperdoc.net
  • Crusader Kings II: Horse Lords
  • Sengoku
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Europa Universalis: Rome
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Crusader Kings Complete
  • Shadowrun Returns
  • Shadowrun: Hong Kong
  • Imperator: Rome Sign Up
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis III: Chronicles
  • 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
  • Deus Vult
  • Europa Universalis III
  • Cities in Motion
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
Duuk said:
When I trigger this event manually, I get "CommandList A is currently invalid."

Any ideas why that would be the case?
Personally, I've never succeded in giving random cores... did only one try though (in 1.05 or .06) ... but it seems that you verified it for me... ;)