Results 1 to 4 of 4

Thread: Making a trait

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Making a trait

    I'm having a bit of trouble making a certain new trait. I'm attempting to create a 'Caliph' trait that will be given to every faction leader of my new Abbasid faction.

    I put the following in export_descr_characters_traits:

    Code:
     
    Trait TheCaliph
     Characters family
        Level TheCaliph
        Description TheCaliph_desc
            EffectsDescription TheCaliph_effects_desc
            Threshold 1
        Effect Command 1
        Effect Authority 2
    and this went in export_descr_characters_traits as well:

    Code:
     
    Trigger TheCaliph
        WhenToTest BecomesFactionLeader
        Condition Trait TheCaliph
     
        Affects TheCaliph 1 Chance 100
    and I put this in export_vnvs:

    Code:
     
    {TheCaliph} Caliph
    {TheCaliph_desc} This man is the Caliph of Islam, successor of Muhammed and nominal ruler of the Muslim world.
    {TheCaliph_effects_desc}
    +2 Authority, +1 Command
    :hmmm: Could someone please tell me what I'm doing wrong?

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Making a trait

    The condition of your trigger will create a loop as it refers back to the trait. Your condition should refer to the faction:

    Code:
    Condition FactionType FactionName
    Replace FactionName by your faction's name, eg. abbasid










  3. #3
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Re: Making a trait

    thanks gigantus

  4. #4
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Making a trait

    One is glad to be of service










Posting Permissions

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