Results 1 to 7 of 7

Thread: Question about triggers

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Question about triggers

    For the triggers "random_birth" that affect skills, does it randomly choose one of the triggers and then does that one, or does it trigger ALL of the random_birth triggers when your character comes to age?

    If it's the second one, why do they even have multiple random_births? Are you only allowed to have a certain number of effects in one trigger?

  2. #2
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Question about triggers

    Trigger random_birth1
    WhenToTest CharacterComesOfAge


    Affects Aesthetic 1 Chance 2
    Affects Coward 2 Chance 2
    Affects GoodSiegeAttacker 1 Chance 2

    ;------------------------------------------
    Trigger random_birth2
    WhenToTest CharacterComesOfAge


    Affects Anger 1 Chance 2
    Affects Hypochondriac 1 Chance 2
    where it says random_birth1/2 etc that description is completely irrelavant, each triggers name has to be unique but you could call them Trigger SSJ1, SSJ2 etc and it would have no different effect.

    What does happen is from start of trigger section each trigger with
    WhenToTest CharacterComesOfAge
    is checked in order down page so if character acquires trait in earlier triggers it disables / overrules incompatible traits in subsequent triggers - best example I can think of is in BI for religion.

    Trigger birth_religion_follow_my_leader_2
    WhenToTest CharacterComesOfAge

    Condition FactionLeaderTrait Pagan >= 1

    Affects Pagan 1 Chance 75

    ;-----------------------------------------
    Trigger birth_religion_nomad_goth_1
    WhenToTest CharacterComesOfAge

    Condition FactionType goths
    and Trait Pagan = 0
    and Trait Christian = 0
    and Trait Zoroastrian = 0

    Affects Christian 1 Chance 50

    ;------------------------------------------
    Trigger birth_religion_nomad_goth_2
    WhenToTest CharacterComesOfAge

    Condition FactionType goths
    and Trait Christian = 0
    and Trait Zoroastrian = 0
    and Trait Pagan = 0

    Affects Pagan 1 Chance 100
    Affects PaganDisillusion 1 Chance 7
    1st trigger works as coming of age leader having 75% chance of getting pagan trait if his faction leader has pagan trait -
    next if faction is goths and come of age leader failed earlier 75% chance of getting pagan trait then he now has 50 % chance of getting christian trait. 3rd if he still didn't get either pagan or christian trait then he is 100% sure to get pagan trait + also 7% chance of getting / or not pagandisillusion, which is compatible trait.

    Its not so much that there is a limit to the number of affects that can be under one trigger but that traits that are meant to be mutually exclusive have to be triggered by separate triggers.
    Last edited by Makanyane; 12-01-2006 at 00:30.
    Not used mods before? Looking for something small and fun?!
    Download the:

  3. #3

    Default Re: Question about triggers

    Allright thanks, I get it.

  4. #4

    Default Re: Question about triggers

    Oh, another question: Can I use age as a trigger? I want my old people to be weaker and wise and my young people to be strong and less wise.

  5. #5
    Bibliophilic Member Atilius's Avatar
    Join Date
    Oct 2005
    Location
    America Medioccidentalis Superior
    Posts
    3,837

    Post Re: Question about triggers

    Sort of.

    There is no way to get access to a character's age directly. However, you can create a trait to track how long a character has been in the game. You would normally assume that, except for characters who were present at the start of the game, a character enters the game at 16 years of age. This is obviously going to be incorrect in the case of many adoptees and men who marry into the family. Unfortunately, this is the best you can do.
    The truth is the most valuable thing we have. Let us economize it. - Mark Twain



  6. #6
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Question about triggers

    To add to collection of questions, sorry I'm being slightly lazy as I could probably figure out way to test this, but does anyone know off hand if you use;
    Condition FatherTrait Drink >= 1 etc
    does the son still get the triggered trait if dad had trait but died before son came of age?
    Not used mods before? Looking for something small and fun?!
    Download the:

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