Results 1 to 2 of 2

Thread: Help with Land Titles scripts

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Cobi Wan Kenobi's Avatar Centenarius
    Join Date
    Aug 2007
    Location
    Virgin Islands
    Posts
    885

    Default Help with Land Titles scripts

    I am trying to build Hereditary Land Titles (very similar to dHHR). In short, the Titles stay in the family they originated in (which I will do in the descr_strat) until there are no more family members left. Then the title will be vacant until a general is moved into that city for 2 turns, which triggers him to gain this Title Ancillary. There are more parts to the code such as if your titled lord is not present in the region and it has certain effects such as recruitment costs, loyalty, etc.

    My problem currently is that when the titles are vacant they are not being acquired. If anyone has time to look through my work and see what is causing this problem I would appreciate it very much. My work has been built by a title generator (which is awesome btw) created by MarkHaselB in case anyone wants to know.

    My Files:
    http://www.twcenter.net/forums/showthread.php?p=10913597#post10913597
    Last edited by Cobi Wan Kenobi; March 02, 2012 at 02:27 PM.

  2. #2

    Default Re: Help with Land Titles scripts

    Put this trigger in comments, rebuild the files and test:

    ;------------------------------------------
    ;Trigger Reset_Acquire_{{Title_Number}}_Away
    ; WhenToTest CharacterTurnStart
    ; Condition Trait Acquire_{{Title_Number}} > 0
    ; and not IsRegionOneOf {{Settlement}}{{Title_Latin}}
    ;
    ; Affects Reset_Acquire_{{Title_Number}} 1 chance 100

Posting Permissions

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