Subcategories

  • 2
  • 25
  • 5
  • 4
  • 2
  • 14
  • 15
  • 1
  • 39
  • 4
  • 24
  • 22
  • 10
  • 5
  • 3
  • 2
  • 27
  • 6
  • 10
  • 2

Recent Posts

  • W

    @rogercooper said in Transferring Unit Control:

    Neither is what I want. I want to change control of the territory and units without any requirement for entry.

    Yes, and I understand that. That is why I pointed to "World War II Global 1940 2nd Edition" all the Mongolian territories as well as their infantry units change to Russian control on Japan's turn. Russia did not have to enter those territories.
    I also understand that you want to keep your project to yourself, but there is not enough information to debug what the problem might be.
    I'm sorry, what you are describing seem doable. But I'm not able to figure the disconnect. The problem is probably on my side.
    Again sorry.

    Cheers...

    P.S.

    You could try adding canBeCapturedOnEnteringBy to the infantry, captureUnitOnEnteringBy to Ireland and to Non_Aligned playerAttachment and setting "Capture Units On Entering Territory". What could it hurt since nothing else has worked.

    Cheers...

    read more
  • @wc_sumpton said in Transferring Unit Control:

    @rogercooper

    The order does not matter.

    <option name="changeOwnership" value="Ireland:Non_Aligned:Soviet_Union:true"/> <!-- <option name="changeOwnership" value="Ireland:Non_Aligned:Soviet_Union:false"/>Non_Aligned no longer own Ireland, Soviet_Union does, so this will not run --> <option name="changeOwnership" value="Ireland:any:Soviet_Union:false"/> <!-- Uses 'any' for old owner -->

    @rogercooper said in Transferring Unit Control:

    Ireland changes ownership, but the unit remains Non_Aligned

    I'm going to setup a test map.

    Cheers...

    Neither is what I want. I want to change control of the territory and units without any requirement for entry.

    read more
  • W

    @RogerCooper

    There are two different settings. Both have unit, territory, player, and options.
    canBeGivenByTerritoryTo is used to give control of a unit to another player when the unit enters a territory with changeUnitOwners unless giveUnitControlInAllTerritories is set in playerAttachment. playerAttachment should contain giveUnitControl and option "Give Units By Territory" should also be set.

    But what I think you want capture.
    canBeCapturedOnEnteringBy is used to gain control of the unit when a territory with captureUnitOnEnteringBy is captured. playerAttachment should contain captureUnitOnEnteringBy and option "Capture Units On Entering Territory" should also be set.

    Cheers...

    read more
  • W

    @rogercooper

    The order does not matter.

    <option name="changeOwnership" value="Ireland:Non_Aligned:Soviet_Union:true"/> <!-- <option name="changeOwnership" value="Ireland:Non_Aligned:Soviet_Union:false"/>Non_Aligned no longer own Ireland, Soviet_Union does, so this will not run --> <option name="changeOwnership" value="Ireland:any:Soviet_Union:false"/> <!-- Uses 'any' for old owner -->

    @rogercooper said in Transferring Unit Control:

    Ireland changes ownership, but the unit remains Non_Aligned

    I'm going to setup a test map.

    Cheers...

    read more