Skipping victories and aftermaths with Yanfly - Victory Aftermath?

Discussion in 'RGSSx Script Support' started by Genocidal Dave, Aug 19, 2013.

  1. Genocidal Dave

    Genocidal Dave The greatest Hi you're ever gonna meet Veteran

    Messages:
    216
    Likes Received:
    8
    Location:
    Definitely not Iceland
    First Language:
    Icelandic
    Hi.

    Is it possible to skip victories and aftermaths with a script/comment call and then enable it again?

    By skipping I mean totally skipping everything. Drops, exp and gold.

    The reason is that the intro has four enemies, three events and I don't want the victory music to play or the aftermath window opening.

    EDIT: Also being able to change the BGM after battle would be nice. (Victory Aftermath)
     
    Last edited by a moderator: Aug 19, 2013
    #1
  2. Lustermx

    Lustermx Veteran Veteran

    Messages:
    252
    Likes Received:
    147
    From what I can see from the screenshot that Yanfly provided, there is a switch which allows you to enable/disable it

    [​IMG]

    The switch should stop gold and exp and everything as well. (At least it does on the VX version)

    And changing the BGM after battle? There's event commands for that.
     
    Last edited by a moderator: Aug 19, 2013
    #2
  3. Genocidal Dave

    Genocidal Dave The greatest Hi you're ever gonna meet Veteran

    Messages:
    216
    Likes Received:
    8
    Location:
    Definitely not Iceland
    First Language:
    Icelandic
    By skipping the thing I mean temporarily.

    Also by changing the BGM I mean the BGM during the aftermath.
     
    #3
  4. Lustermx

    Lustermx Veteran Veteran

    Messages:
    252
    Likes Received:
    147
    You can skip it temporarily using the switch.

    Simply turn it on to skip it and when you want it back, turn the switch off again.
     
    #4
  5. Genocidal Dave

    Genocidal Dave The greatest Hi you're ever gonna meet Veteran

    Messages:
    216
    Likes Received:
    8
    Location:
    Definitely not Iceland
    First Language:
    Icelandic
    You mean with a script/comment call, but not through the script itself right?
     
    #5
  6. kerbonklin

    kerbonklin Hiatus King Veteran

    Messages:
    1,728
    Likes Received:
    281
    First Language:
    English
    Primarily Uses:
    RMMV
    No...as in a regular, good ol' eventing switch. That's what it uses.

    Anything in scripting that's a True/False switch is the same as an eventing switch. Make sure you set the switch # to something you're not already using, and name it properly so you don't forget.
     
    Last edited by a moderator: Aug 20, 2013
    #6
  7. Genocidal Dave

    Genocidal Dave The greatest Hi you're ever gonna meet Veteran

    Messages:
    216
    Likes Received:
    8
    Location:
    Definitely not Iceland
    First Language:
    Icelandic
    Oh, crap. I'm not good at that :S

    Any chance that someone could just walk me through it step by step?
     
    #7
  8. Celianna

    Celianna Tileset artist Global Mod

    Messages:
    10,528
    Likes Received:
    5,533
    First Language:
    Dutch
    Primarily Uses:
    RMMV
    I've moved this thread to script support. Please be sure to post your threads in the correct forum next time. Thank you.
     
    #8
  9. Genocidal Dave

    Genocidal Dave The greatest Hi you're ever gonna meet Veteran

    Messages:
    216
    Likes Received:
    8
    Location:
    Definitely not Iceland
    First Language:
    Icelandic
    My apologies.
     
    #9
  10. kerbonklin

    kerbonklin Hiatus King Veteran

    Messages:
    1,728
    Likes Received:
    281
    First Language:
    English
    Primarily Uses:
    RMMV
    No offense but it's an extremely simple thing and I was hoping you could have done this by yourself in 5 seconds.

    Make a new event switch in your map editor, name it "No Aftermath".  Keep in mind the ID number of the switch.

    Now go to the script where it says SKIP_AFTERMATH_SWITCH = 0, and change the 0 to your switch ID.

    Now just have whatever NPC / autorun event you want change that switch to ON, and there should be no more aftermath. If not then try OFF instead, but "skip" being ON sounds more logical.
     
    Last edited by a moderator: Aug 21, 2013
    #10
  11. Genocidal Dave

    Genocidal Dave The greatest Hi you're ever gonna meet Veteran

    Messages:
    216
    Likes Received:
    8
    Location:
    Definitely not Iceland
    First Language:
    Icelandic
    Oh right. I understand now. Thanks :s

    EDIT: It works. Thanks again. This thread may now be closed.
     
    Last edited by a moderator: Aug 21, 2013
    #11

Share This Page