Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22

Thread: Creating a script to give all the names you want to a settlement

  1. #21

    Default Re: Creating a script to give all the names you want to a settlement

    I have set up the settlement name change two different ways, they both work, they change the name as soon as the settlement is captured. The issue I am having is that I must now 'drag' each unit individually out of the settlement one at a time. Also the settlement browser for all intents and purposes is no longer usuable as it 'freezes' up. Is there anyway around this? Also, these things do not happen to all settlements, of the 7 or 8 settlements with the name change, about half are affected.

    Here is set up one the original:
    Spoiler Alert, click show to read: 
    ;------------------------ Alcfud --------------------------
    declare_counter Alcfud_Name

    monitor_conditions I_SettlementOwner Talsir = sicily
    and I_CompareCounter Alcfud_Name = 0
    set_counter Alcfud_Name 1
    change_settlement_name Talsir Ost

    end_monitor

    monitor_conditions not I_SettlementOwner Talsir = sicily
    and I_CompareCounter Alcfud_Name = 1
    set_counter Alcfud_Name 0
    change_settlement_name Talsir Alcfud

    end_monitor

    monitor_conditions I_SettlementOwner Talsir = turks
    and I_CompareCounter Alcfud_Name = 0
    set_counter Alcfud_Name 1
    change_settlement_name Talsir Ost

    end_monitor

    monitor_conditions not I_SettlementOwner Talsir = turks
    and I_CompareCounter Alcfud_Name = 1
    set_counter Alcfud_Name 0
    change_settlement_name Talsir Alcfud

    end_monitor
    Here is the second method I tried using which has the same effect as the first one:
    Spoiler Alert, click show to read: 
    ;------------------------ Alcfud --------------------------
    declare_counter Alcfud_Name
    monitor_conditions FactionTurnStart FactionIsLocal
    if I_SettlementOwner Talsir = dunland
    change_settlement_name Talsir Alcfud
    end_if
    if I_SettlementOwner Talsir = france
    change_settlement_name Talsir Alcfud
    end_if
    if I_SettlementOwner Talsir = sicily
    change_settlement_name Talsir Ost
    end_if
    if I_SettlementOwner Talsir = turks
    change_settlement_name Talsir Ost
    end_if
    if I_SettlementOwner Talsir = egypt
    change_settlement_name Talsir Ost
    end_if
    end_monitor

  2. #22
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Creating a script to give all the names you want to a settlement

    monitor_event FactionTurnStart FactionIsLocal

    Did you check your log? There's probably an error in there about that line.

    You don't need that counter either.

Page 2 of 2 FirstFirst 12

Posting Permissions

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