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

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,744
Reaction score
15,879
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

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,744
Reaction score
15,879
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 ;)
 

Latest Threads

Latest Posts

Latest Profile Posts

Map025.png

The second settlement you'll visit in my newest game. The small village of Teytal.
sketch 4 an opening cinematic in my gameeee >:]
Untitled_Artwork_16.jpg
oh god how do I add pictures on here it keeps saying i need a link <--( suddenly forgot how technology works )
avery wip.png

"i have to work in like 5 hours ... let's start the main character's face set"
--me, an adult for the past 20 years

Forum statistics

Threads
123,161
Messages
1,154,495
Members
161,516
Latest member
rehnstillnight
Top