Text Speed (Battle but NOT Battle Speed!)

Ultimacj

Cookie Knight
Veteran
Joined
Oct 15, 2013
Messages
406
Reaction score
60
First Language
Englist
Primarily Uses
N/A
I've seen a lot of battle text speed related questions but the question I have is similar.


I'm trying to display text instantly prior to the battle starting.  You know the default XX enemy emerged.  While I've changed wording, I'm also centering it.  Since it doesn't display instantly rather than letter by letter (or this case space by space), it takes a minute to show up and looks awkward.


The display of the battle message is of course in VOCAB under scripts:


# Basic Battle Messages
  Emerge          =  "                                       ENCOUNTER!!"
  Preemptive      = "%s got the upper hand!"
  Surprise        = "%s was surprised!"
  EscapeStart     = "%s has started to escape!"
  EscapeFailure   = "However, it was unable to escape!"


I am using the Yanfly message system but since this within a SCRIPT the \> and other message codes used within the message box system does not work/apply here, I've tried them both inside and outside the quotes.  The program just displays the lettering itself when the fight starts and crashes with an error if outside the "".


My question is how can I show this instantly is there a text display speed option within the scripts?


I do not mind if it ends up displaying everything at once for all message boxes if that's what it has to come to.


Thanks!
 
Last edited by a moderator:

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA
Pretty sure you just need two backslashes.


Emerge          =  "\\>                                       ENCOUNTER!!"
 
 

Ultimacj

Cookie Knight
Veteran
Joined
Oct 15, 2013
Messages
406
Reaction score
60
First Language
Englist
Primarily Uses
N/A
That seemed to do the trick thanks.


Seems to also work with font sizes, colors, and font changes with yanfly's message system.  I find it odd that it actually works within "" since in Ruby anything in "" is usually a display text like other programming languages.  I wonder why \\'s are needed?


Anyhoo thanks Riniboi!
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
The normal "\>" is the command to display text all at once, but since in strings the '\' character is used for special caracters (like \n for example) you have to use two of them to only get one printed. \> is not a special character, they are two character of a string and RPG Maker undesrtands that when you have those it has to display the text all at once.
 
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top