Class Quizz

Hello! So, I had an idea for a game where the PC takes a quiz. After said quiz, they're given an element and weapon that I believe they'd be aligned with.

Basically, my question is this: How would I make it where if a peron shows, say, an aversion to close combat and fluidity in how they handle situations with a desire to be supportive in a group, they'd be given Water/Bow by the quiz?

Basically, I can put the questions down all day, every day. But I don't know how to make the answers tally up to something, à la Morrowind's class system. How's this done?

Edit: And another unrelated thing, how do I get a text box to pop up as soon as a player starts on a map, I.E, automatic and not an event triggered by the action button or stepping on it?
Thanks!
Basically, my question is this: How would I make it where if a peron shows, say, an aversion to close combat and fluidity in how they handle situations with a desire to be supportive in a group, they'd be given Water/Bow by the quiz?

A simple way to do this would be to create a bunch of variables, where each one is a quality that the user can like or dislike. So, you might have a variable for "close combat", where a high number means they like it, and a low number means they like ranged combat instead.

Then, you ask the user the questions, and when they answer, you silently add or subtract points from these variables. Ask the user "do you like to get in your enemy's face?", and if they say "yes", +3 to close combat.

You can even offer them answers like "yes, no, maybe, don't care...", and add/subtract different numbers of points.

At the end of the session, your user might have...

close combat: 6
charisma: 4
cunning: 1
magic: 8

Then you use some Conditional IFs to choose which item to give the user.

You can extend this too, making it more technical or interesting - for example, you could have many IF statements to ask the user different questions based on their answers.

Lastly, remember this doesn't have to be super complicated or super balanced. The end result could be kinda meaningless (a lot of RPGs give you choices for your character that ultimately don't mean much) but they give players who like character lore a bit of meat to sink their teeth into. Most players won't do it 20 times, they'll only do it once, maybe twice, so they won't find out that there were only actually 3 end options.
A simple way to do this would be to create a bunch of variables, where each one is a quality that the user can like or dislike. So, you might have a variable for "close combat", where a high number means they like it, and a low number means they like ranged combat instead.

Then, you ask the user the questions, and when they answer, you silently add or subtract points from these variables. Ask the user "do you like to get in your enemy's face?", and if they say "yes", +3 to close combat.

You can even offer them answers like "yes, no, maybe, don't care...", and add/subtract different numbers of points.

At the end of the session, your user might have...

close combat: 6
charisma: 4
cunning: 1
magic: 8

Then you use some Conditional IFs to choose which item to give the user.

You can extend this too, making it more technical or interesting - for example, you could have many IF statements to ask the user different questions based on their answers.

Lastly, remember this doesn't have to be super complicated or super balanced. The end result could be kinda meaningless (a lot of RPGs give you choices for your character that ultimately don't mean much) but they give players who like character lore a bit of meat to sink their teeth into. Most players won't do it 20 times, they'll only do it once, maybe twice, so they won't find out that there were only actually 3 end options.

Thank you so much!

Yeah, it was meant to kill two birds with one stone: Give the player lore and identity about their character, AND select their class permanently. The party members they pick will give the player a choice of, "Okay, I like this character's personality, but they're the same element as me, so do I really want to pick them?" Or, "I don't like him, but I need him."

And that's where I planned on making the whole diplomacy system, but that's whatever.

This is exactly what I needed, I just needed to learn *how* to do it. Thanks for the help 🙂
Just as a bit of extra clarification, the Conditional Branches you'll do at the end to choose the class and weapon (once you have totaled up all the points) will be comparisons. For example, if your three weapons are Sword, Bow, and Spear:

If (Variable: Sword Quiz Points) >= (Variable: Bow Quiz Points)
....If (Variable: Sword Quiz Points) >= (Variable: Spear Quiz Points)
........Gain Item: Sword
....Else
........Gain Item: Spear
....End
Else
....If (Variable: Bow Quiz Points) >= (Variable: Spear Quiz Points)
........Gain Item: Bow
....Else
........Gain Item: Spear
....End
End

Original thread: https://forums.rpgmakerweb.com/threads/class-quizz.111963/