Results 1 to 4 of 4

Thread: Help with ancillary triggers

  1. #1

    Default Help with ancillary triggers

    I want to implement a trigger where Item X is given to a character that captures a settlement, provided that no Item Y or more of Item X exist in the campaign.

    So basically I tried something like:

    Spoiler Alert, click show to read: 

    Trigger ItemX_found_anc_trigger
    WhenToTest GeneralCaptureSettlement
    Condition IsGeneral
    and SettlementName London
    and FactionType england
    and not I_WorldwideAncillaryExists ItemX
    and not I_WorldwideAncillaryExists ItemY


    AcquireAncillary ItemX chance 100


    So the idea is that one item would disappear from the campaign and be replaced by one similar but sort of an "alternative" version that has changed due to the settlement being captured (and the general holding the original item dying)

    However it does not seem to work... any help would be much appreciated

  2. #2

    Default Re: Help with ancillary triggers

    You should reduce the trigger name to something shorter like ItemX_trigger but apart from that it seems to be correct, how about the ancillary itself, the image and the description? Are they correct?

  3. #3
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Help with ancillary triggers

    Also... any log errors? Are you certain that neither ItemX/Y exist at that time?

  4. #4

    Default Re: Help with ancillary triggers

    Thanks guys, I do not know if that was the reason but I did shorten the trigger name as Lusitanio suggested and now it works as intended

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •