Results 1 to 11 of 11

Thread: GeneralWithAncKilled holy_grail

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    TheFirstONeill's Avatar Father of Thera
    Join Date
    May 2007
    Location
    Knutsford Cheshire, England
    Posts
    16,172

    Default GeneralWithAncKilled holy_grail

    Im trying to make a trigger so that if you kill an enemy general who has a anc, his killer recieves that anc, however it doesnt appear to work ,

    here is an example of the trigger

    Trigger holy_lance_killed_anc_trigger
    WhenToTest PostBattle
    Condition IsGeneral
    and WonBattle
    and GeneralWithAncKilled holy_lance
    AcquireAncillary holy_lance chance 100

    what have I missed? :hmmm:

    cheers
    Jason

    House of Wilpuri :By the Patronage of Elrond: Patron of Caki : Aduellist : Borissomeone
    Proud Creator of Thera, Legacy of the Great Torment: Opifex :

  2. #2
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: GeneralWithAncKilled holy_grail

    Anything in your log?

  3. #3
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: GeneralWithAncKilled holy_grail

    try this:

    Trigger holy_lance_killed_anc_trigger
    WhenToTest PostBattle
    Condition WonBattle
    and IsGeneral
    and GeneralWithAncKilled holy_lance

    AcquireAncillary holy_lance chance 100
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  4. #4
    TheFirstONeill's Avatar Father of Thera
    Join Date
    May 2007
    Location
    Knutsford Cheshire, England
    Posts
    16,172

    Default Re: GeneralWithAncKilled holy_grail

    Quote Originally Posted by Swagger View Post
    try this:
    I tried

    Trigger holy_grail_killed_anc_trigger
    WhenToTest PostBattle
    Condition WonBattle
    and IsGeneral
    and GeneralWithAncKilled holy_grail
    AcquireAncillary holy_grail chance 100

    didnt work, checked log, no reference to the trigger firing, :hmmm:

    House of Wilpuri :By the Patronage of Elrond: Patron of Caki : Aduellist : Borissomeone
    Proud Creator of Thera, Legacy of the Great Torment: Opifex :

  5. #5
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: GeneralWithAncKilled holy_grail

    the holy_lace/grail are relics, and they are supposed to be unique ancillaries

    try this:


    Trigger holy_grail_killed_anc_trigger
    WhenToTest PostBattle
    Condition WonBattle
    and IsGeneral
    and GeneralWithAncKilled holy_grail
    and not I_WorldwideAncillaryExists holy_grail

    AcquireAncillary holy_grail chance 100
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  6. #6
    TheFirstONeill's Avatar Father of Thera
    Join Date
    May 2007
    Location
    Knutsford Cheshire, England
    Posts
    16,172

    Default Re: GeneralWithAncKilled holy_grail

    Quote Originally Posted by Swagger View Post
    the holy_lace/grail are relics, and they are supposed to be unique ancillaries

    try this:


    yes but that is jsut to make them unique, I cant believe it is mandatory for relic ancs

    And the anc will be present at that time, as the general you just killed has to have the anc,

    I will give it a go though,

    cheers mate, good to hear from you again, do you stil have my msn name?
    Last edited by TheFirstONeill; February 22, 2009 at 08:50 AM.

    House of Wilpuri :By the Patronage of Elrond: Patron of Caki : Aduellist : Borissomeone
    Proud Creator of Thera, Legacy of the Great Torment: Opifex :

  7. #7
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: GeneralWithAncKilled holy_grail

    yes but that is jsut to make them unique, I cant believe it is mandatory for relic ancs

    And the anc will be present at that time, as the general you just killed has to have the anc,

    yes i know, but all the scripts i make for ancillaries, i always put that line (when it comes about relics & artifacts)

    here's a little example i made for Third Age Total War:

    Spoiler Alert, click show to read: 

    ;----------------------------------------------
    Trigger nazgul_ring
    WhenToTest PostBattle
    Condition WonBattle
    and IsGeneral
    and GeneralWithAncKilled nazgul_ring
    and not HasAncType Relic_Ring

    AcquireAncillary nazgul_ring chance 100

    ;----------------------------------------------
    Trigger one_ring_good_good
    WhenToTest PostBattle
    Condition WonBattle
    and IsGeneral
    and GeneralWithAncKilled one_ring

    AcquireAncillary one_ring chance 100

    ;----------------------------------------------
    Trigger barahir_ring
    WhenToTest PostBattle
    Condition WonBattle
    and IsGeneral
    and GeneralWithAncKilled barahir_ring
    and not HasAncType Relic_Ring

    AcquireAncillary barahir_ring chance 100


    as far as my tests went, the script works


    I will give it a go though,
    good luck


    cheers mate, good to hear from you again, do you stil have my msn name
    no problem, and nice mod you've made, THERA looks great

    altought it's not quite my mod style (i rather play a historical mod )


    and yes i do have your msn account, but you don't go in msn for ages
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  8. #8
    TheFirstONeill's Avatar Father of Thera
    Join Date
    May 2007
    Location
    Knutsford Cheshire, England
    Posts
    16,172

    Default Re: GeneralWithAncKilled holy_grail

    Quote Originally Posted by Swagger View Post
    yes i know, but all the scripts i make for ancillaries, i always put that line (when it comes about relics & artifacts)

    here's a little example i made for Third Age Total War:

    Spoiler Alert, click show to read: 

    ;----------------------------------------------
    Trigger nazgul_ring
    WhenToTest PostBattle
    Condition WonBattle
    and IsGeneral
    and GeneralWithAncKilled nazgul_ring
    and not HasAncType Relic_Ring

    AcquireAncillary nazgul_ring chance 100

    ;----------------------------------------------
    Trigger one_ring_good_good
    WhenToTest PostBattle
    Condition WonBattle
    and IsGeneral
    and GeneralWithAncKilled one_ring

    AcquireAncillary one_ring chance 100

    ;----------------------------------------------
    Trigger barahir_ring
    WhenToTest PostBattle
    Condition WonBattle
    and IsGeneral
    and GeneralWithAncKilled barahir_ring
    and not HasAncType Relic_Ring

    AcquireAncillary barahir_ring chance 100


    as far as my tests went, the script works
    ok i will clone that into my mod, if it works I will just change the titles, cheers as always mate +rep

    House of Wilpuri :By the Patronage of Elrond: Patron of Caki : Aduellist : Borissomeone
    Proud Creator of Thera, Legacy of the Great Torment: Opifex :

  9. #9
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: GeneralWithAncKilled holy_grail

    you welcome


    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  10. #10
    TheFirstONeill's Avatar Father of Thera
    Join Date
    May 2007
    Location
    Knutsford Cheshire, England
    Posts
    16,172

    Default Re: GeneralWithAncKilled holy_grail

    its really odd, completely cloned it, and still not firing

    House of Wilpuri :By the Patronage of Elrond: Patron of Caki : Aduellist : Borissomeone
    Proud Creator of Thera, Legacy of the Great Torment: Opifex :

  11. #11
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: GeneralWithAncKilled holy_grail

    :/
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


Posting Permissions

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