Results 1 to 12 of 12

Thread: How do you make a the faction leader get a anchillary after gaining settlements?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    TMK's Avatar BC Local Moderator
    Join Date
    Jun 2010
    Location
    England
    Posts
    1,606

    Default How do you make a the faction leader get a anchillary after gaining settlements?

    How do you make the faction leader get a ancillary after the faction gaining,for example, 8 settlements?




  2. #2

    Icon1 Re: How do you make a the faction leader get a anchillary after gaining settlements?

    Code:
        WhenToTest CharacterTurnStart
        Condition IsFactionLeader
              and CharFactionType england
              and I_NumberOfSettlements england > 11
    
        AcquireAncillary ancillary_name chance  100
    Identifier: I_NumberOfSettlements
    Trigger requirements:
    Parameters: number of settlements
    Sample use: I_NumberOfSettlements thrace > 3
    Description: How many settlements does the faction hold?
    Battle or Strat: Strat
    Class: I_NUMBER_OF_SETTLEMENTS
    Implemented: Yes
    Author: Guy

  3. #3
    TMK's Avatar BC Local Moderator
    Join Date
    Jun 2010
    Location
    England
    Posts
    1,606

    Default Re: How do you make a the faction leader get a anchillary after gaining settlements?

    Quote Originally Posted by TNZ View Post
    Code:
        WhenToTest CharacterTurnStart
        Condition IsFactionLeader
              and CharFactionType england
              and I_NumberOfSettlements england > 11
    
        AcquireAncillary ancillary_name chance  100
    Is there a way of making 1 trigger for all factions like that or do you have to create seperate triggers? Also can you make it so if someone gets a trait,in the city or even cities around him, unrest increases. Thanks for the answer by the way TNZ.
    Last edited by TMK; November 14, 2010 at 04:05 AM.




  4. #4

    Default Re: How do you make a the faction leader get a anchillary after gaining settlements?

    Quote Originally Posted by TheMalevolentKing View Post
    Is there a way of making 1 trigger for all factions like that or do you have to create seperate triggers?
    No there is no way we have to define the faction type.

  5. #5
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: How do you make a the faction leader get a anchillary after gaining settlements?

    Quote Originally Posted by Ishan View Post
    No there is no way we have to define the faction type.
    That would only be true if all factions started with the same amount of settlements.

  6. #6
    TMK's Avatar BC Local Moderator
    Join Date
    Jun 2010
    Location
    England
    Posts
    1,606

    Default Re: How do you make a the faction leader get a anchillary after gaining settlements?

    Does a code for a trait trigger like this work?

    Condition CharacterReligon islam
    and not IsFactionLeader
    and HasAncType Coward
    or HasAncType Frighetened

    Affects Traitname 1 Chance 100

    This is just an example, what I am intrested in is if the "or" bit in it would work. Does it?




  7. #7

    Default Re: How do you make a the faction leader get a anchillary after gaining settlements?

    You make 2 triggers for same anc.

  8. #8
    TMK's Avatar BC Local Moderator
    Join Date
    Jun 2010
    Location
    England
    Posts
    1,606

    Default Re: How do you make a the faction leader get a anchillary after gaining settlements?

    Quote Originally Posted by Ishan View Post
    You make 2 triggers for same anc.
    Thanks!




Posting Permissions

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