Results 1 to 3 of 3

Thread: Help with linking ancillaries needed

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Member Member Re Berengario I's Avatar
    Join Date
    Nov 2003
    Location
    Italy
    Posts
    336

    Default Re: Help with linking ancillaries needed

    Hmmm at first glance there's a some errors here and there

    Quote Originally Posted by D Wilson
    ;------------------------------------------
    Ancillary earl_of_warwick
    Type Title
    Transferable 0
    Image item_documents.tga
    ExcludeCultures mesoamerican
    Description earl_of_warwick_desc
    EffectsDescription earl_of_warwick_effects_desc
    Effect EarlofWarwick 1
    ;------------------------------------------

    ;------------------------------------------
    Trigger earl_of_warwick_vnv_trigger
    WhenToTest CharacterTurnEnd
    Condition CharFactionType england
    and not IsFactionHeir
    and I_SettlementOwner Warwick = england
    and not FactionwideAncillaryExists
    and not FatherTrait KingofEngland >= 1

    AcquireAncillary earl_of_warwick chance 100

    ;------------------------------------------
    That trigger gives the ancillary to the first english character the game processes at the end of the turn, maybe a priest or a princess or a diplomat or an admiral... was it intented to work this way? I doubt it.

    Quote Originally Posted by D Wilson

    The Earl of Warwick trait is entered like this and does work as a stand alone trait with separate triggers

    ;------------------------------------------
    Trait EarlofWarwick
    Characters family

    Level Earl_of_Warwick
    Description Earl_of_Warwick_desc
    EffectsDescription Earl_of_Warwick_effects_desc
    GainMessage Earl_of_Warwick_gain_desc
    Epithet Earl_of_Warwick_epithet_desc
    Threshold 1

    Effect Command 1
    ;------------------------------------------


    and the trigger is


    ;------------------------------------------
    Trigger EarlofWarwick
    WhenToTest CharacterTurnEnd

    Condition CharFactionType england
    and IsGeneral
    and I_SettlementOwner Warwick = england
    and not FatherTrait FactionLeader >= 1
    and not IsFactionHeir

    Affects EarlofWarwick 1 Chance 100

    ;------------------------------------------
    That trigger will also give the trait to the first english general (maybe not a named char though) the game processes at the end of EVERY turn.
    Was it also intented to work this way? Same doubts as above. Plus the trait and the trigger have the same name, I think this is the cause of the error traced in the log.

    Please explain how your title system should work.
    Last edited by Re Berengario I; 12-07-2006 at 18:15.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO