Results 1 to 6 of 6

Thread: Trigger to add traits when recruiting a general

  1. #1

    Smile Trigger to add traits when recruiting a general

    I've add generals as recruitable units. Now i want to assign traits to the general when he is created.

    I have read the tutorial on trait & triggers (very good) but i'm still a bit stuck.

    An example would be that when the general unit is create he would have x command level. Can anyone point me in he right direction?

  2. #2
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Trigger to add traits when recruiting a general

    I think they trigger either a CharacterComesOfAge, BrotherAdopted or LesserGeneralOfferedForAdoption event (probably the first), but you'll have to test it yourself.
    To do this, create a trigger with a chance of 100 and make it give some trait that you don't often get (or create a test trait, as I usually do) and recruit a general.

  3. #3

    Default Re: Trigger to add traits when recruiting a general

    I'm quite sure that it's not ComesOfAge and I'm almost certain it's not BrotherAdopted (which should fire when a character's father adopt another son). I think it's the LesserGeneralOfferedForAdoption one, which I believe is the Man of the Hour-type adoptions.

  4. #4

    Default Re: Trigger to add traits when recruiting a general

    Well i've tried those but no luck. Is there a way to see which triggers have been used each turn?

  5. #5

    Default Re: Trigger to add traits when recruiting a general

    Okay, apparently, OfferedForAdoption is the trigger that fires for recruited generals (same as the "Candidate for adoption" pop-up). Man of the Hour events uses the LesserGeneralOfferedForAdoption trigger.

  6. #6

    Thumbs up Re: Trigger to add traits when recruiting a general

    Thats done it. Thanks very much.

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