Page 1 of 1

Check for minimum character count on input?

Posted: Wed Aug 30, 2023 1:43 pm
by LilGames
Hi, simple question related to input from the player: I can set the character limit to 25 on the input field but how do I add a conditional to prevent less than 3 characters? eg: Loop the node back somehow?

Re: Check for minimum character count on input?

Posted: Wed Aug 30, 2023 2:38 pm
by Tony Li
Hi,

Please see: How To: Read Input From Player During Conversations

It has an example that requires the input to be 1+ characters, but you can change it to require 3+ characters.

(Side note: If it's a name, there are plenty of names that are only 2 characters: Ed, Al, Hi, Bo, etc.)