Yanfly's Victory Aftermath Actor Name Removal

Egerunt

Villager
Member
Joined
Jan 5, 2019
Messages
29
Reaction score
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.
 

ZirconStorms

VX & VX Ace Scripts
Veteran
Joined
Dec 22, 2014
Messages
359
Reaction score
113
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
 

Attachments

Egerunt

Villager
Member
Joined
Jan 5, 2019
Messages
29
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Thank you, that works perfectly.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Check out SpokenWord- my text-to-speech plugin for RPG Maker MV!
just watched spacex launch. was awesome.
Jumping and gravitation 0.1 build - RPG Maker MV
Currently playing final fantasy 3 on DS. It's an old one but its a classic.

Forum statistics

Threads
97,953
Messages
948,098
Members
129,200
Latest member
jakeofblades
Top