How do I make certain names not allowed?

Status
Not open for further replies.

Haxorus Imp

Villager
Member
Joined
May 6, 2017
Messages
7
Reaction score
0
First Language
English
Primarily Uses
RMMV
I know that this has something to do with conditional branches, but I looked for a tutorial and nothing would come up.

Which is why I came here to ask this question.​

'How to I make certain names not allowed for the player to use?'

I wanna know how you can prevent the player from using a certain name or word for their character via using the custom name inputer.

For an example, I want the game to prevent them from naming their character something like 'Hitler', possibly with a character scolding them on their choice or it just pokes fun at the player for wanting to choose that name.

After that, it just sends them back to the name input screen.

This is also to prevent them from using a cussword or inappropriate name for their character.

Or attempting to take a characters' name and use it for themselves. Like how Undertale prevents the player from naming Frisk - Sans, Toriel, Undyne, ect.

Any tips?​
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,673
First Language
German
Primarily Uses
RMMV
Place a label above the name input command.
After that command, a series of conditional branches checking if the actor now has one of the forbidden names. If yes, show text "forbidden input" and goto label.
Disable the else-branch as it is not needed.
 

Haxorus Imp

Villager
Member
Joined
May 6, 2017
Messages
7
Reaction score
0
First Language
English
Primarily Uses
RMMV
Place a label above the name input command.
After that command, a series of conditional branches checking if the actor now has one of the forbidden names. If yes, show text "forbidden input" and goto label.
Disable the else-branch as it is not needed.
Thanks!
But, some images might help.

I figure I'm on the right track, though.
 

Nightblade50

Developer of "Delta Origins"
Veteran
Joined
Nov 10, 2016
Messages
2,133
Reaction score
4,253
First Language
English, French
Primarily Uses
RMVXA
Can this thread be closed? :)
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,859
Messages
1,017,030
Members
137,566
Latest member
Fl0shVS
Top