Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Advance Message Script R4 help

topdod

Member

I was wanting to display the hero name in a box and also have a face also displayed but I can't get it to work so...

is there any way to get both namebox and face graphic to display at the same time?
 
Show a name or other info in a name box:
\Name[text]
Use this to show a name box above the message box that will contains the text you specified. You can also use variable and other commands such as "Show hero name" in that name box. As the following example:
\Name[\v[12]] --> Will show the value of variable ID# 12 in the name box.
\Name[Dubealex] --> Will show "Dubealex" in the name box.
\Name[\n[1]] --> Will show the name of hero ID# 1 in the name box.

Show a face graphic in your message box:
\f[FaceName]
FaceName must be the filename of a graphic file found in the directoyr Graphics\Pictures of your RPG Maker XP project. The file must be a PNG of 96X96 pixels. You do not need to write the file extention.

You should check out the manual for this script! click here
 

topdod

Member

I already have have to manual (had the manual and demo for a while)
but I was trying to get the ace graphic and the namebox to show at the same time

won't matter...I'll just use faces for the main people
 
To show them at the same time you have to put both commands in the message box!
Example:
\Name[Dubealex]\f[FaceName]This is my text....
then you get the name box, a face grafic and the text all at the same time
 
I could use some help. I'm using the the Advanced Message Script and decided to test an event: \Name[Elena]\f[elena]Hello!

But when I test it, this comes up:

Script ' ' line 254: NoMethodError occured.

private method `gsub' called for [\\f[elena]Hello!"]: Array

Here's the part of the script in question:

254: line.gsub!(/\\\w\[(\w+)\]/) { "" }

If any other part of the script is needed, tell me. Thank you for the help.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top