blueprint
Username Blacklist system
- Exposure: public
- UE Version: 5.0
ctrl + v
1 comment
-
The node "find substring" outputs -1 if not found and 0 if the bad word is found so by adding every number to an array then once it's complete checking if there are any 0's in the list you can see if there are blacklisted words in the username. This was made in a macro and you'll need three variables, one sting array with all the blacklisted words, one integer array empty to add the results, and an optional one is a boolean to have a reference else where is the name is appropriate or not.
jdiab1207
September 3, 2023, 8:45 pm