Name Input Processing, No Blank Name

Kacie

RNGesus
Member
Joined
Oct 8, 2017
Messages
5
Reaction score
3
First Language
English
Primarily Uses
RMMV
So I am using the script:
/NAME/gi.test($gameActors.actor(ActorID)._name)
And am wondering if there is a way to either alter the script or work around it to disallow the player having a blank name.
I don't know if it is a silly question but I was just simply wondering if that script could be altered to check for no player name being input.

As well I am aslo using SumRndmDde's Name Input Upgrade Plugin, if that is of any use as well.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
A conditional branch to see if the actor's name is blank, and return to the input prompt, would do the trick.
 

Kacie

RNGesus
Member
Joined
Oct 8, 2017
Messages
5
Reaction score
3
First Language
English
Primarily Uses
RMMV
That really was a silly question from me. I guess I was just thinking too hard on that one, ahahaha, omg.
Thank you though, Shaz.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I'm sure there'd be a way to modify the line you have to check for either condition being true, but regular expressions and I do not like each other very much, so I'm not tempted to try to discover it ;)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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.

Forum statistics

Threads
105,868
Messages
1,017,081
Members
137,582
Latest member
Spartacraft
Top