Results 1 to 5 of 5

Thread: Trait condition

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default Trait condition

    Lads,

    I was wondering if 'FatherName'* can be a trait 'condition counter' like, FactionIs X or EndTurn etcetra.


    * This would be the first name of the father.

  2. #2

  3. #3

    Icon1 Re: Trait condition

    Quote Originally Posted by Bowden View Post
    Lads,

    I was wondering if 'FatherName'* can be a trait 'condition counter' like, FactionIs X or EndTurn etcetra.


    * This would be the first name of the father.
    No. But if the father in question is present in the ‘descr_strat’ file you could give him a unique trait, one without a trigger, in the ‘export_descr_character_traits’ file. Then you can do this:
    Code:
        WhenToTest CharacterComesOfAge
    
    	Condition IsGeneral
    	and FatherTrait UniqueTrait = 1
    
    	Affects ? 1 Chance 100

  4. #4
    Bowden's Avatar Ducenarius
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    912

    Default Re: Trait condition

    Hmm. Thats a shame. Thanks for the answer, but I need a 'FatherName' of some sort.

  5. #5
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Trait condition

    There is no condition that allows you to check for a characters name. You can use the above trigger if the character is either present in descr_strat at the beginning of the game or spawned by script as you can assign the trait at the time of creation of the character.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

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