Check for minimum character count on input?
Check for minimum character count on input?
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?
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.)
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.)