• 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.
Showing developer posts only. Show all posts in this thread.

Darkrenown

Star marshal
142 Badges
Jan 8, 2002
24.761
16.975
no
  • Leviathan: Warships
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis IV: Wealth of Nations
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • 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
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Dungeonland
  • East India Company
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
I'm having a problem with a stray province in this event:
Code:
##################################################  #######################
#  Popular Unification of Germany # Darkrenown's version
##################################################  #######################
event = {
	id = 1509
	random = no
	country = AUS

	trigger = {
		event = 4612
		exists = HUN
		exists = GER
		NOT = { war = { country = GER  country = AUS } }
	}

	name = "EVT_1509_NAME"
	desc = "EVT_1509_DESC"
	style = 0

	date = { day = 4 month = january year = 1836 }
	offset = 30
	deathdate = { day = 30 month = april year = 1852 }

	action_a = {
		name = "ACCEPT_END" # Accept [Inherited by GER]
		command = { type = secedeprovince which = HUN value = 731 } #since many people take one province and release hungary
		command = { type = secedeprovince which = HUN value = 732 }
		command = { type = secedeprovince which = HUN value = 900 }
		command = { type = secedeprovince which = HUN value = 901 }
		command = { type = secedeprovince which = HUN value = 902 }
		command = { type = secedeprovince which = HUN value = 903 }
		command = { type = secedeprovince which = HUN value = 904 }
		command = { type = secedeprovince which = HUN value = 905 }
		command = { type = secedeprovince which = HUN value = 914 }
		command = { type = secedeprovince which = HUN value = 915 }
		command = { type = secedeprovince which = HUN value = 916 }
		command = { type = secedeprovince which = HUN value = 923 }
		command = { type = secedeprovince which = HUN value = 924 }
		command = { type = secedeprovince which = HUN value = 925 }
		command = { type = secedeprovince which = HUN value = 926 }
		command = { type = secedeprovince which = HUN value = 927 }
		command = { type = secedeprovince which = HUN value = 929 }
		command = { type = secedeprovince which = HUN value = 951 }
		command = { type = secedeprovince which = HUN value = 952 }
		command = { type = secedeprovince which = HUN value = 953 }
		command = { type = secedeprovince which = HUN value = 954 }
		command = { type = secedeprovince which = HUN value = 955 }
		command = { type = secedeprovince which = HUN value = 956 }
		command = { type = secedeprovince which = HUN value = 957 }
		command = { type = secedeprovince which = HUN value = 958 }
		command = { type = secedeprovince which = HUN value = 959 }
		command = { type = secedeprovince which = HUN value = 960 }
		command = { type = secedeprovince which = HUN value = 961 }
		command = { type = secedeprovince which = HUN value = 980 }
		command = { type = secedeprovince which = HUN value = 981 }
		command = { type = secedeprovince which = HUN value = 1008 }
		command = { type = secedeprovince which = HUN value = 1009 }
		command = { type = secedeprovince which = ITA value = 827 } #if italy are around they get some land
		command = { type = secedeprovince which = ITA value = 829 }
		command = { type = secedeprovince which = SER value = 928 } #serbia gets while the getting is good.
		command = { type = secedeprovince which = GER value = 733 } #secede some land to lower BB when annexed
		command = { type = secedeprovince which = GER value = 734 }
		command = { type = secedeprovince which = GER value = 735 }
		command = { type = secedeprovince which = GER value = 775 }
		command = { type = secedeprovince which = GER value = 762 }
		command = { type = secedeprovince which = GER value = 760 }
		command = { type = secedeprovince which = GER value = 761 }
		command = { type = secedeprovince which = GER value = 763 }
		command = { type = secedeprovince which = GER value = 764 }
		command = { type = secedeprovince which = GER value = 765 }
		command = { type = secedeprovince which = GER value = 766 }
		command = { type = secedeprovince which = GER value = 767 }
		command = { type = secedeprovince which = GER value = 771 }
		command = { type = secedeprovince which = GER value = 753 }
		command = { type = secedeprovince which = GER value = 831 }
		command = { type = secedeprovince which = GER value = 830 }
		command = { type = make_satellite which = CRO }
		command = { type = end_satellite which = CRO } # they break away
		command = { type = secedeprovince which = CRO value = 912 } #for some reason it doesn't go to croatia when it's made.
		command = { type = make_satellite which = SLO }
		command = { type = end_satellite which = SLO }
		command = { type = make_satellite which = TRE }
		command = { type = end_satellite which = TRE }
		command = { type = make_satellite which = VEN }
		command = { type = end_satellite which = VEN }
		command = { type = make_satellite which = LOM }
		command = { type = end_satellite which = LOM }
		command = { type = make_satellite which = SER } #if serbia wasn't around it will be now
		command = { type = end_satellite which = SER }
		command = { type = secedeprovince which = SER value = 928 } #serbia gets while the getting is good. 
		command = { type = surrender which = GER } # Germany get the rest
	}
	action_b = {
		name = "REFUSE" # Refuse
		command = { }
	}
}

The problem is that pozega (912) stays with austria and then is annexed into germany. It's a croatian core, so it should go to croatia when it's released by austria, but it doesn't. I then added a secede province command, but it's still staying with austria. Any ideas?
 

Darkrenown

Star marshal
142 Badges
Jan 8, 2002
24.761
16.975
no
  • Leviathan: Warships
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis IV: Wealth of Nations
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • 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
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Dungeonland
  • East India Company
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
But it's already there so I don't see why it doesn't go to them when they form:
Code:
CRO = {
	date = { day = 1 month = january year = 1835 }
	expirydate = { day = 31 month = december year = 1920 }
	minimum = { 730 746 747 748 749 750 751 757 906 907 934 935 [b]912[/b] 913 }
	extra = { }
	capital = 746
	culture = { type = croat }
	religion = catholic
	literacy = -1
	ai = "default.ai"
	primitive = no
}

I've changed it to independence commands now, thanks for the tip, but the problem continues.
 
Last edited: