Results 1 to 7 of 7

Thread: Question about triggers

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #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:

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