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?
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.
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.
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?
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.
Re: Trigger to add traits when recruiting a general
Thats done it. Thanks very much.