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

unmerged(30953)

Homophobus Balcanicus Vulgaris
Jun 22, 2004
1.107
0
I'm having a problem with granting independence through events. When I add "value = 0" to "independence which =" command, all land and air units in the area of the newly-independent state will switch allegiance. This is not the case for fleets - they remain under the parent nation command and simply sail out of port, the opposite of what I'm attempting to do.

Why is that so, and is there another way to force naval units to switch allegiance? IIRC, when the Spanish Civil War breaks out in HOI2 the starting Spanish navy is split between SPA and SPR.
 
what is allegiance?

do you mean alliance?

If Spa or Spr annex Spa or Spr the navy will join that country, just like the warlord armies in china.
 
I know what you mean but that's another thing.

I need this for Modern Day Scenario so here is an example: I've written an event which grants independence to the Russian Far East. The command looks like this:

command = { type = independence which = U32 value = 0 }

U32 is the tag for my new revolter and value = 0 means that all Russian units on territory of U32 will become units of U32 once the event happens. That is, switch allegiance.
I tested the event and found that land and air units in the Russian Far East do switch sides, but naval units don't. I want the Russian Pacific Fleet to switch allegiance and become part of U32 military, but it doesn't happen. The units remain under Russian control and simply sail out of Vladivostok :confused: