Yanfly's Victory Aftermath Actor Name Removal

Discussion in 'RGSSx Script Support' started by Egerunt, Jan 10, 2019.

  1. Egerunt

    Egerunt Villager Member

    Messages:
    16
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMVXA
    I've been using Yanfly's Victory Aftermath script in VX Ace and it makes the battles a lot better. However, the quotes after the battle always have the Actor's name in the top line of the text. As I never do this in my normal game-play, I have been trying to find a way to remove the Actor's name from the text and have the actual quote start from the first line in the text box instead. Does anyone know how to do this? The help would be much appreciated.

    Here is the link to the website I got the script from.
    https://yanflychannel.wordpress.com/rmvxa/battle-scripts/victory-aftermath/

    Thank you in advance.
     
    #1
  2. tv.ghost

    tv.ghost Veteran Veteran

    Messages:
    233
    Likes Received:
    49
    First Language:
    English
    Primarily Uses:
    RMVXA
    edit this section (def self.set_victory_text):
    Code:
      def self.set_victory_text(actor, type)
        text = actor.victory_quotes(type)[rand(actor.victory_quotes(type).size)]
        text += YEA::VICTORY_AFTERMATH::FOOTER_TEXT
        $game_message.face_name = actor.face_name
        $game_message.face_index = actor.face_index
        $game_message.add(text)
        wait_for_message
      end
    upload_2019-1-9_13-43-6.png
     

    Attached Files:

    #2
    Egerunt likes this.
  3. Egerunt

    Egerunt Villager Member

    Messages:
    16
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMVXA
    Thank you, that works perfectly.
     
    #3

Share This Page