I’m relatively new to Choicescript, so apologies if this is a really basic question. I’ve used the input text command to allow players to enter a pet’s name. This all works fine, however, my husband, being the ideally irritating tester he is, typed full sentences rather than a name, which obviously makes everything weird every time the pet’s name is used. Is there any way to prevent players doing this and limit them to a single or two-word text entry, or is this something I have to live with? (I guess they’re only spoiling it for themselves anyway!)
Tbh whenever you give people a text input field, they are likely to write something stupid. I remember the jokes about the Black Magic appearance being put in as ‘a jello cube.’ No matter how much space you give them, people will write a troll option. There’s no way around it. (I’m guilty of it myself, I always name my protagonist something idiotic and come to regret it later).
Personally, I really wouldn’t worry about it myself. It’s their game experience, and if they want to “ruin” it by entering a ridiculously long entry unto a text box, they’re the one who has to deal with it. I’d be pretty annoyed by an arbitrary character limit or having invalid characters for something like a name myself. Just my two and a half cents!