Results 1 to 5 of 5

Thread: REGION handover?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    feanor68's Avatar Civis
    Join Date
    Jun 2009
    Location
    Pennsylvania, USA
    Posts
    158

    Default REGION handover?

    Hi, I know the command to use to turn an entire faction over to another, e.g. ...

    if conditions.TurnNumber(context) == 1 and conditions.FactionIsHuman(context) then
    scripting.game_interface:grant_faction_handover("france", "louisiana", 0, 0, context)
    end

    But after many searches, I can't seem to find a command that does the same thing in the .lua-file for a SINGLE region. For example, if I want to make the Spanish give Flanders to the Netherlands at the start of the game, does anyone know if there is a command I can use in the .lua-file to achieve this? Using the command grant_region_handover has no effect. Many thanks to anyone for their assistance...

  2. #2
    Burnoutfigs's Avatar Semisalis
    Join Date
    Apr 2009
    Location
    Fort Lewis, Wa
    Posts
    408

    Default Re: REGION handover?

    a simple change of the esf file can do this for you, but i dont think there is any script to handover single provinces.

  3. #3

    Default Re: REGION handover?

    a "simple change" ?

    Have their been major breakthroughs since i tried it last time


  4. #4
    feanor68's Avatar Civis
    Join Date
    Jun 2009
    Location
    Pennsylvania, USA
    Posts
    158

    Default Re: REGION handover?

    I'd agree, the changes involved in doing this task through the ESF editor are pretty big, requiring you to have to go through every building slot and its sub-menus, then changing faction IDs, government types, etc.

    I was/am really hoping there is a simple script-command for the .lua-file that could do this in a flash, and it could also be removed in a flash. Anybody got anything?

  5. #5
    alpaca's Avatar Harbinger of saliva
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    4,811

    Default Re: REGION handover?

    Nothing there I think.

    No thing is everything. Every thing is nothing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •