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.

Class Naming Problem need Help

Hey there i have a problem with one of the events i have for project. Well to make it simple i have a event that at the beginning of my game. a guy will ask you what class you would like to be and your name. And i got it so that which ever class and name you pick the guy will say it and so will the your main guy. but the thing is, is that i want for every person in the game to say your name no matter what class you'd picked.

So Plz if there is a way to help me fix this plz let me know if you can.. ohh btw i'm using VX if that helps

Another thing i forgot to say is that when you pick a class like warrior or fighter they start out with different skills and equipment so if that helps thats one of the reasons why i;m haveing problems.

The four classes have the charset if your using vx it on actor 3 the first guy the one with red hair.and each one warrior,fighter,mage,etc have different set ups.


Never mind sorry everyone i got it to work but thank you everyone who helped me
Now that i made that a little clearer for you guys/girls who are tying their best to help me.
Thanks you all in advance.
 
No thats not the problem. this problem occurred after i found out how to do that.

for the classes i have

Warrior=\N[1]
Fighter=\N[2]
Mage=\N[3]
Archer=\N[4]

but now i don't know how to have other people in the game to say either one of there names.
SO if i had an old guy say the name of the warrior i want him to also say the name of the fighter or mage, etc.
do you know what i mean and sorry i don't know how to puy up pics to show you.
 
Are you using different actors for each class? A better function would just be to use the command "Change Actor Class" (assuming that command's still in VX).

Otherwise, you'll have to get a script or use a lengthy conditional branching process.

i.e.
Code:
@>Conditional Branch: Actor [Aluxes] Class == Warrior
   @>Show Text: Hey, \N[1].
@>Conditional Branch: Actor [Aluxes] Class == Fighter
   @>Show Text: Hey, \N[2].
..etc.

Good luck with it.
 
napoles3":2vzk1jo0 said:
No thats not the problem. this problem occurred after i found out how to do that.

for the classes i have

Warrior=\N[1]
Fighter=\N[2]
Mage=\N[3]
Archer=\N[4]
...

Maybe the confusion here is that "\N[1]" is associateive to an actor (Actor 1 specifically), and not a specific class.

It appears that you have 4 actors, one of each class, and when the player chooses you are substituting (remove actor / add actor) a different actor to get the desired class.

What Reg suggested is to keep Actor 1 as the main character/actor, and just change his class when the player chooses a class.  that way, throughout the game his name will always be "\N[1]"

Dig?
 
OK that might work but i have one sprite for 4 different classes but i have it so that when you pick either class it will start a different conversation.

you know what can anyone tell me how to up load my game here so that you can see what i mean ok
 
Another thing i forgot to say is that when you pick a class like warrior or fighter they start out with different skills and equipment so if that helps thats one of the reasons why i;m haveing problems.

The four classes have the charset if your using vx it on actor 3 the first guy the one with red hair.and each one warrior,fighter,mage,etc have different set ups.

Now that i made that a little clearer for you guys/girls who are tying their best to help me.
Thanks you all in advance.
 

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