Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way to script when text would be added to the words your saying in-game?

Asked by
Simxzn 2
4 years ago

For instance, If I say something like, "Testing 123" I would want it to have a letter in between that text like this: "Tqeqsqtqiqnqg 1q2q3" (q).

0
You can learn string patterns. GSUB and SPLIT is very helpful in this case. Also I recommend that you search before you post. iuclds 720 — 4y
0
I searched, but no results :( Simxzn 2 — 4y
0
This can be accomplished using a for loop and gsub(), very easily. DeceptiveCaster 3761 — 4y
0
You don't even need a for loop or gsub, use `table.concat(s:split(" "), "q")` programmerHere 371 — 4y

Answer this question