Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
tomas1991

showing class in text

Question

Hey guys

 

I have kind of a problem

 

 

I have just made a "Choose class" menu, and after you choose a class I want an npc to say "ohh you chose that class" just instead of "that class" I want to show the class name

 

Is there a code for that, or do i need to make alot of branches that say if you are this class the npc will say this over and over again?

 

I use xp, but i doubt that VX isn't all that different in this matter, so please help

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Hey guys

 

I have kind of a problem

 

 

I have just made a "Choose class" menu, and after you choose a class I want an npc to say "ohh you chose that class" just instead of "that class" I want to show the class name

 

Is there a code for that, or do i need to make alot of branches that say if you are this class the npc will say this over and over again?

 

I use xp, but i doubt that VX isn't all that different in this matter, so please help

 

By menu do you mean an ACTUAL menu you scripted or do you mean your character is talking to a NPC and asked if he wants to change his class? If it is a scripted menu you will have to wait for a scripter, but if it is a simple event you have only once choice i know of:

 

 

 

This is an example and take note that:

 

1) on TAB 2 and 3 the MAGE selection would have Control ON for "c."

2) You would also have to add a OFF control for the other selections. Say like you choose THIEF it will take you to TAB 2, if you then choose LANCER it will take you to TAB 3, but Switch A will still be on. So each ON switch (except the first TAB) should also have a Turn OFF switch event as well (see example here >> eventexamplechangeclass.th.jpg).

 

eventexamplechangeclass.jpg

 

 

 

 

And someone else can give the answer for a script in-case that is what he/she is looking for.

Edited by Noob Saibot

Share this post


Link to post
Share on other sites
  • 0

by "menu" i mean I teleported the actor to a black map, set actor opacity to 0, and made branches that says "choose one of these for classes" if they choose the first it give text that describe the class asks if you are sure, if you choose yes, it changes the class and add a variable "class=1" up to 4, and ports you back to the NPC that teleported you to the "menu" then you talk to the Npc again, i want it to say if variable class>0 that you got the actors class

 

 

hope you understand

 

I have made it all, but i'm missing a code you display the actor class in the text

Edited by tomas1991

Share this post


Link to post
Share on other sites
  • 0

Set one variable called Class, and set it to 0,1,2,3,4 etc. after each class option the player can choose.

 

Then you can use a conditional branch to see if the player chose a specific class, and show text based on that choice.

 

If you don't understand, I will make a demo for you. [Noob supplied some helpful images, so look at them for reference first.]

Share this post


Link to post
Share on other sites
  • 0

Set one variable called Class, and set it to 0,1,2,3,4 etc. after each class option the player can choose.

 

Then you can use a conditional branch to see if the player chose a specific class, and show text based on that choice.

 

If you don't understand, I will make a demo for you. [Noob supplied some helpful images, so look at them for reference first.]

 

 

I thought of that solution myself

 

just had hoped that there was a quicker solution, but it will have to do then

Share this post


Link to post
Share on other sites
  • 0

Set game variables to the words:

 

Script:

$game_variables[1] = "Mage"

$game_variables[2] = "Knight"

$game_variables[3] = "Thief"

 

Then you can use the normal "\v[VARIABLE_ID]" command to say the class name in a message box:

 

Show Message:

"So you chose \v[iD]!"

Share this post


Link to post
Share on other sites
  • 0

I thought of that solution myself

 

just had hoped that there was a quicker solution, but it will have to do then

 

Lol, well that's how I would go about doing it.

 

Or you could do it Forever's way, but in the event you can see it and manage it there.

Share this post


Link to post
Share on other sites
  • 0

Set game variables to the words:

 

Script:

$game_variables[1] = "Mage"

$game_variables[2] = "Knight"

$game_variables[3] = "Thief"

 

Then you can use the normal "\v[VARIABLE_ID]" command to say the class name in a message box:

 

Show Message:

"So you chose \v[iD]!"

 

exactly how do I put this script in my project?? sorry I'm still a little green on RPG maker xp

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...