RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Help! I cannot display hero name.

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 83

I am using rpg xp on windows vista. AT the start of my game, i ask the player to enter a name for the hero.
Afterwards, when i use \N[001] to display the name, nothing comes out. If anyone knows how to solve this, please reply... ???

**
Rep:
Level 83
I am the Flux

I am using rpg xp on windows vista. AT the start of my game, i ask the player to enter a name for the hero.
Afterwards, when i use \N[001] to display the name, nothing comes out. If anyone knows how to solve this, please reply... ???

You need Dubealex's Advanced Messaging System or a similar script. Unfortunately, the Creation Asylum is down so I can't link you =/
Let's eat Grandpa!
Let's eat, Grandpa!

Commas save lives.

---

"Filmmusic needs to be more than just convenient." - Denny Schneidemesser

*
Rep:
Level 87
No, that's an RMXP standard function.  You don't need a messaging system for it.

Things to check - what number are you using for the actor?
Does your name input processing refer to the correct actor number, and does it allow enough characters?
You're outputting it using Show Text?

I created a 9th character in the default project, used #9 for name input processing, and I tried all of the following:
Show Text: Hello \N[9]
Show Text: Hello \N[009]
Show Text: Hello \n[9]
Show Text: Hello \n[009]

and they all worked.

Do you HAVE a custom message system installed in your scripts - if so, could that be interfering?

You say "nothing" comes out.  Does that mean you don't even get a message box?  Or do you get a message box, but it's empty?  Or does it have something in it, but just not the name?

Can you tell us what you're outputting in the Show Text command, and tell us exactly what you see when it hits that logic?
Always remember you're unique.
Just like everybody else.

**
Rep: +0/-0Level 83
Thanks for replying!
I used event - text
Hello, \N[001]
and it came out "Hello, "
Anyway, I do not have a messaging system.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, did you go through the naming event yet?

 In any case, it is better to lose the 0s. Though it ought not to make a difference, it does for some people. \n[1] should work. Just try it. If it doesn't we'll go from there.

**
Rep: +0/-0Level 83
At the start of the game, i ask the player to rename actor 1, max 10 characters.
The first time i use \n[1], it works, but after that it stops working, just display a space there
 :'(

**
Rep: +0/-0Level 83
i have tried to use slipknot's AMS and Dubealex's AMS but it still did not work.
Please help. This is very important... ???

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, it doesn't make sense that \n[1] would just stop working. It doesn't stop working in either shaz's or my programs. If \n[1] works the first, \n[1] ought to work the second time. There must be something different about your project. Please upload the project and let me take a look.

*
Rep:
Level 87
do you do something anywhere else that might reset the actor name?
Always remember you're unique.
Just like everybody else.

**
Rep: +0/-0Level 83
No...I don't think I reset the name anywhere...
Anyway,l have attached my game here...Please help me take a look and find the error?
Many Thanks!
« Last Edit: June 14, 2009, 08:26:45 AM by scramcrew »

*
Rep:
Level 87
Downloaded it, played it.  Typed in my name, and in at least two places, my name showed up in the message boxes.

Where it said \Na[\n[2]] in your event, I actually got \Na[Lotus] in the game.  I think something's wrong there.

But my name showed up twice.


Perhaps something glitchy about your RPG maker?  Dare I ask if it's the PK version?
Always remember you're unique.
Just like everybody else.

**
Rep: +0/-0Level 83
What's Pk version? Don't think i am using it....
Anyway, if you have no problem playing my game...I think i will delete and remake my game!
Thanks for helping me! :lol:

*
Rep:
Level 87
don't delete it.  Create a new map and make a new starting point. 

Experiment a bit - see if you can name character 1 via events, rather than getting the player to key it in.

I'm assuming you're saying it's just that second dialogue in the same event, that's supposed to display the name, but doesn't?

If you can't figure this one out, deleting and starting again isn't likely to help you, because the problem isn't with the event itself.
Always remember you're unique.
Just like everybody else.

*
Rep:
Level 87
Wait for Modern Algebra to take a look - maybe the same thing will happen with him, maybe not.  He can give you some more feedback on the event, though I didn't see anything after a quick glance that would cause the issue.
Always remember you're unique.
Just like everybody else.

**
Rep: +0/-0Level 83
Well, did you take a look at the events?
At the second map where there are lots of snow...
you will see " ,thanks for coming"
before the comma, the name is supposed to come out.
It happens in the next few events too.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Hmm, works for me.

*
Rep:
Level 87
On the second map, I could move around, but I couldn't see my character.

I assumed the problems were on the first map.  I'll go back and check further.

Should I be able to see a character walking around on the screen?
Always remember you're unique.
Just like everybody else.

*
Rep:
Level 87
ok - I got exactly the same as MA.  On the second page, my name showed at least three times.
Always remember you're unique.
Just like everybody else.

**
Rep: +0/-0Level 83
Thank you all of you for replying.
I guess there is a problem with my RPGXP...
I will try reinstalling it and tell you guys...
And about shaz's comment about the missing character, you have to press enter.
I don't know what the problem is, but you have to press enter all each time you enter the second map.
 ;D

**
Rep: +0/-0Level 83
I tried to reinstall RPGXP, but the error still persist.
if you see the first picture, the name shows.
but the 2 and 3 one does not have.
The 4 picture shows the player in combat. The name of player 1 does not appear!
What should i do now?

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Oh, I wish you had told me that you had to press ENTER to add the character. That's the event where it is messing up.

A) That should be before the Transfer Player command in the first map or it should be parallel. You def. shouldn't make the player have to press ENTER.

B) You are initializing the actor when you add him. What that does is set him back to database stats, and database name. ALl you need to do is uncheck that box and you'll be fine.

**
Rep: +0/-0Level 83
Hahaha....my problem is now resolved! Many thanks to modern algebra, shaz and any others for helping me.
The name appears with no problem and the user does not have to press enter anymore! Thanks to modern algebra who told me to make it a parallel event!
Cheers!  ;D