Gameover Events

This script allows you to replace the default gameover scene with an event. This gives you more control over how the gameover scene should process.

A gameover event is a common event and is assigned to different objects. There are several different scopes of gameover events.

  • Troop gameover events. These occur when you gameover during battle. Each troop can have its own gameover event.
  • Map gameover events. These occur when you gameover on the map. Each map can have its own gameover event.
  • System gameover events. If this is set, it will run instead of the above

gameoverEvents1

Download

Script: download here

Installation

Place this below Materials and above Main.

Usage

To create a troop gameover event, create a comment of the form

<gameover event: event_id>

To create a map gameover event, in the map’s notebox, tag it with

<gameover event: event_id>

To set a system gameover event, make the script call

set_gameover_event(event_id)

Where the event_id is the ID of the common event that will run as the gameover event. If the system event is 0, then either the troop or map events will run. If you want to force the default gameover screen, set the ID to -1

Note that you need to press the C button again after the event finishes to go back to the title screen (if your event does not handle this)

You may also like...

17 Responses

  1. Jill says:

    good enough and thank you for visiting online
    casino agents for Indonesia. Here we are here to pay for admission for fans of sbobet casino who want to join the international
    agent site Promosbobet.

    The products offered are certainly diverse and are unquestionably the best choice.
    Derived from providers that have credibility and have been proven to have the best predicate in serving their customers.
    Providers following Sbobet, Maxbet and many more.

    As the best online casino and soccer gambling site in Indonesia.

    We have the funds for maximum benefits with customer preserve
    that works online 24 full hours every day.
    fittingly members can ham it up whenever and wherever without fearing to tilt the possibility of difficulties or confusion.

  2. mabosvippro says:

    For anybody who like to play gambling of course, if you usually
    are looking for partners within gambling activities, Mabosbet
    will be the right choice. Mabosbetransfer You can contact the customer care and make purchases with us.
    Mabosbet livechat is available 24 hours nonstop and is ready to serve you that help you
    online with betting.

    Mabosbet. com as a new responsible gambling agent, we always provide an alternate link to mabosbet
    in order that members feel comfortable. You no longer require to have trouble getting an alternative Jababbet link for access, it is already available for you.

    All of us also always give priority to the safety regarding our members, very stringent protecting each of the privacy associated
    with members of Jababbet.

    Reliable Mabosbet From 2010

    Along with good praise, the support from the Headquarters is no doubt.

    Friendly, quick response, under 3 moments.

    Mabosbet is highly highly valued by gambling bettors from Indonesia because whatever victory you
    get will probably be approved by mabosvip. We usually want to provide typically the best for members with optimum service.
    The site mabosmail. com can also be very straightforward to access,
    when you only want internet access and option links mabosvip, no need to use proxies, notifications,
    or troublesome applications.

    Of which is why many men and women join mabosbola and help to make deposits, then, win the particular
    match. The best and quality alternative mabosbola alternative site.

    Come join mabosbet. com the trusted online gambling agent in Philippines.
    Contact livechat mabosbet right now in the lower correct
    corner to get a user ID. Welcome in order to the club.

    MABOSBET will be a Trusted Online Wagering Site that has already been established for more as compared to 9 years with the particular most significant
    amount of online gambling players. This gambling site also provides the most complete online gambling game
    together with the most popular betting providers in Indonesia.
    On the internet Gambling Games that could be played at MABOSBET are Sportsbook Soccer Wagering, Live Casino, Internet poker Credit card Gambling, Online Slot Gambling and Online Togel.

    Mabosbet itself has provided many different excellent facilities for online gambling players in Indonesia starting from 24-hour Live
    Chat Support, Bonuses with the least difficult conditions,
    additional wins with regard to True Gambling Players.

    This specific MABOSBET Gambling Site furthermore proves to become very reliable, while this Gambling Site can also pay for any winning player with no deductions.
    So you will play gambling comfortably plus safely without fear of spending.
    In addition to the definite win at MABOSBET, you will also provide additional bonuses to supply a different experience playing online gambling.

    JOBI BALL OFFICIAL SBOBET ONLINE INSIDE INDONESIA
    Online Soccer Betting has become a extremely popular online gambling game within Indonesia where
    every sport has a market for betting. MABOSBET is now a great official partner of BOLA TANGKAS Indonesia,
    where more than a decade has provided sports gambling games for wagering players in Indonesia.
    This specific SBOBET Soccer Gambling Market allows a reasonable where participants will
    actually be given a new live market from your
    recognized match directly. Which means you may be very lucky to be able to play SBOBET in this particular MABOSBET.

    RELIABLE ONLINE SLOT MACHINE GAME SITE SITE NUMEROUS EARNINGS
    Online slot gambling is usually currently popular in Indonesia, where online slots are extremely
    rewarding with huge jackpots and freespins that are usually simple to win. Because associated with that this
    MABOSBET very first provided Online Slot Online games from 2012 for betting players in Indonesia.
    Wherever Jackpot is provided more than USD $ one, 000, 000 for slot machine game players who register from MABOSBET.
    The Slot Sport machine at MABOSBET won’t just use your Equilibrium, the Slot Game has
    been made with the FREESPIN Bonus that comes
    out more often, so a person is going to be Fortunately.

  3. gameoverpros says:

    Pretty! This was a really wonderful article.
    Thanks for providing this info.

  4. Charstray says:

    Hi, I downloaded your script and tested it.. It worked, but I want to ask a question.

    Let's say I want to make the character teleports back to village instead of returning to title screen, how to do that? I'm still very new with custom script so I'm confused..

    • Hime says:

      This script was not intended to allow you to go back to the map. It simply replaces the way the game over screen is handled and then returns to the title map afterwards.

      You'll need another script that will provide that functionality.

  5. Warped Realities says:

    Okay. It somewhat works. In that it now works during battle. But it now doesn’t work if I trigger a gameover from an event on a map and in fact causes the entire game to crash because it’s trying to read line 57 of game_troop when I trigger a gameover.

    So for record. If I add a game over line to an event it now causes the world to explode so long as this script is in place.

  6. Warped Realities says:

    This script doesn't work properly for me. It works for map based game over events, but troop based ones do not in fact work. And I've verified this by making a vanilla project where this script is the only custom content.

    Pictures below:
    http://i440.photobucket.com/albums/qq125/darkevilme/test0_zpsffba569f.png
    http://i440.photobucket.com/albums/qq125/darkevilme/test1_zpsd4600cfa.png

    • Hime says:

      It works for me. Did you save your game?

      • Warped Realities says:

        No saves are involved in my testing procedure. I have a 5×5 square of grass set to have snake encounters and that's it. I start the game, walk around, encounter the bad guys, die, fail to get the message. Only way i get the message is if I add it to the notes for the map (Which is not useful for my purposes). Adding it as a comment on the event for the troop, doesn't work. And no for the hell of it I tried saving the game, quitting to title, then loading the save and having the encounter and that didn't help either.

        • Hime says:

          Upload your project on dropbox or mediafire. I am not having an issue with the comment in a troop, losing to it in battle, and having the custom game over sequence.

          When I said “save” I meant saving your project. Some people like to testplay their troops directly via the troop editor and then wonder why none of the scripts work.

  7. Agger says:

    I can’t get this to work would anyone mind sending a demo of this?

  8. WCouillard says:

    Can this script transfer the player from a battle to a specific map to run a gameover event from there (bypassing normal gameover)?

    • Hime says:

      No, as this script doesn’t run in the map. It is basically the default game over, except it runs a common event. I have intentions to write a script that does use a “game over” map, but I’m still thinking about how to specify which game over map to go to (in case you have several depending on the situation)

Leave a Reply to Jill Cancel reply

Your email address will not be published. Required fields are marked *