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

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • 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
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • 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
Greetings all.

Need help with a stinker i am afraid. I have an event (several actually for several nations) that allows the creation of Pirate havens in the carribean. Unfortunately it does not seem to want to work. The event kicks in but does not grant independence to the Pirate Havens (tag U10), investigating further it seems that in game it the event states "grant independence to County of Tripoli" (tag MIN), WHY!!!????

Is it because i have MIN: C o Tripoli as the first entry in the revolt.txt? Other paradox events use it (i am sure) and they work. any help with this pleeeease!
(event below)

Code:
#Pirate Havens#
event = {
	
	id = 46018
	trigger = {
		owned = { province = 144 data = SPA }
	}
	random = no
	country = SPA
	name = "Pirates set up havens in the Caribbean"
	desc = "blah blah blah."
	style = 2

	date = { day = 1 month = january year = 1550 }
	offset = 3600
	deathdate = ( day = 31 month = december year = 1600 }

	action_a = {
		name = "Let them, they could prove useful to us"
		command = { type = population which = 144 value = 700 }
		command = { type = independence = U10 }
		command = { type = stability value = 1 }
	}

	action_b = {
		name = "We must destroy them now"
		command = { type = stability value = -1 }
		command = { type = provincetax which = 144 value = -1 }
		command = { type = provincetax which = 145 value = -1 }
		command = { type = provincetax which = 146 value = -1 }
		command = { type = provincetax which = 147 value = -1 }
		command = { type = provincetax which = 148 value = -1 }
		command = { type = provincetax which = 149 value = -1 }
		command = { type = provincetax which = 150 value = -1 }
		command = { type = provincetax which = 151 value = -1 }
		command = { type = provincetax which = 152 value = -1 }
	}
}

THX
A.
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • 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
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • 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
:eek:
Silly me, of course.:eek:

0.9 is OK, look forward to AGC, but hey to many conflicts with my own stuff. Most annoying.
THX for help tho
A.:)