Results 1 to 5 of 5

Thread: How does a pop-up message appear?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Agis Tournas's Avatar ★ Modder-at-Arms ★
    Join Date
    May 2008
    Location
    Athens, Hellas
    Posts
    1,714

    Default How does a pop-up message appear?

    I am playing DLV 5.73 (as faction: elo) and I am using the following script in order to have BAUDOUIN IV of Jerusalem (the King) dead on the historical accurate date (1185)

    monitor_event FactionTurnStart FactionIsLocal
    and I_TurnNumber = 10 ; year 1185
    if I_LocalFaction elo
    and I_CharacterExists BAUDOUIN4
    kill_character BAUDOUIN4
    end_if
    end_monitor
    The script has been tested and is working fine
    The problem is that when the king dies the pop-up message - informing us that the king is dead - does not show up.
    Could someone give me some help?

    Thank you in advance
    Agis
    A mini-mod is never late! Nor is it ever early. It arrives precisely when I mean it to do!


    Son of Agisilaos / Grandson of jimkatalanos / Great-grandson of Garbarsardar





  2. #2
    Agis Tournas's Avatar ★ Modder-at-Arms ★
    Join Date
    May 2008
    Location
    Athens, Hellas
    Posts
    1,714

    Default How does a pop-up message appear?

    If you can, please post the proposed script...

    Thank you
    Agis
    A mini-mod is never late! Nor is it ever early. It arrives precisely when I mean it to do!


    Son of Agisilaos / Grandson of jimkatalanos / Great-grandson of Garbarsardar





  3. #3
    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: How does a pop-up message appear?

    What you need is a historic_event. Edit the historic_events.txt file in the text folder, you will see how they are laid out. Then make your script look like this:

    Code:
    monitor_event FactionTurnStart FactionIsLocal
    and I_TurnNumber = 10 ; year 1185
    if I_LocalFaction elo
    and I_CharacterExists BAUDOUIN4
    kill_character BAUDOUIN4
    historic_event name_of_event
    end_if
    end_monitor

  4. #4
    Agis Tournas's Avatar ★ Modder-at-Arms ★
    Join Date
    May 2008
    Location
    Athens, Hellas
    Posts
    1,714

    Default Re: How does a pop-up message appear?

    Understood!
    But I suppose that there is a vanilla event for the death of the faction leader...
    Which is this?
    Do you happen to know?
    A mini-mod is never late! Nor is it ever early. It arrives precisely when I mean it to do!


    Son of Agisilaos / Grandson of jimkatalanos / Great-grandson of Garbarsardar





  5. #5
    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: How does a pop-up message appear?

    Im not sure, but its either in historic_events or descr_events.

Posting Permissions

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