
Originally Posted by
Historydude
You should focus more on him writing the trigger to his likings, or atleast show him how or why to write it like yours. It doesn't do much to take someones mod and do all the work for em without them learning anything eh

Heh.
Okay, here's a commented version of my trigger:
Code:
Trigger heir_crown ;Name of the trigger, pretty much irrelevant
WhenToTest CharacterTurnStart ;Tells the parser to check the trigger at the start of a characters turn
Condition IsFactionLeader ;Tells the parser to only continue reading the trigger if the character is a faction leader
and FactionIsLocal ;Tells the parser to only continue reading if the faction is player-controlled
and not FactionwideAncillaryExists heir_crown ;Tells the parser to only continue reading if the ancillary doesn't already exist
AcquireAncillary heir_crown chance 100 ;Tells the parser to give the character the ancillary
Happy?