Results 1 to 4 of 4

Thread: HELP: Restricting Knightly Orders to Events

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    cfmonkey45's Avatar Praeses
    Join Date
    Sep 2006
    Location
    Los Angeles, California
    Posts
    8,222

    Default HELP: Restricting Knightly Orders to Events

    What I want to do is restrict the occurance of Knightly Order Guilds (like the Templars, Teutonics, and Hospitallers) so that they only occur after specific events, namely after the European nations successfully call a crusade against Jerusalem. I'm a bit of a noob, but I wanted to see if it were possible, and if any of you could give me some advice.

    Thanks in advance.

    --cfmonkey45

  2. #2

    Default Re: HELP: Restricting Knightly Orders to Events

    cfmonkey45
    have a look at the guilds file and add a condition eg

    Guild st_johns_chapter_house
    building guild_st_johns_chapter_house


    condition I_EventCounter hospitallersfounded_counter = 1

    levels 100 250 500

    then edit the campaign script and set the counter for this guild eg

    declare_counter hospitallersfounded

    monitor_event EventCounter EventCounterType hospitallersfounded_counter
    and EventCounter > 0


    add_events
    event historic HOSPITALLERS_FOUNDED
    date x y
    end_add_events


    end_monitor

    Add the event to the events file and hey presto.

    I would also add a condition to the buildings file for such units as well.

    To err is human, but to really foul things up you need a computer.
    Paul Ehrlich

  3. #3
    cfmonkey45's Avatar Praeses
    Join Date
    Sep 2006
    Location
    Los Angeles, California
    Posts
    8,222

    Default Re: HELP: Restricting Knightly Orders to Events

    Thanks, a lot. That was very helpful.

    +Rep

  4. #4

    Default Re: HELP: Restricting Knightly Orders to Events

    Indeed - for me too! Thanks Quark. +rep!

    Cheers,
    D.

    Retired creator of 'Das Heilige Römische Reich' - Get v. 0.7 here.
    -------------------------------------------------------------
    Visit my homepage.
    --------------------------------------------
    Proud son of jimkatalanos, grandson of Garbarsardar and father of DerDiskusWerfer and HannibalExMachina.

Posting Permissions

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