I know how to dynamically set the value of a text property in game using logic bricks, a log prop, a string and all that jaz, but how can I restrict when typing will edit it?
Like if I had a first person shooter, I wouldn't want the string to say something like:
every time I moved around. How can I make it so it only types one character after I press a button?
EDIT: just to clear up any misunderstandings, this will ultimately be used for the game hangman. Each letter will be it's own text object, that way I can check for letter matches easily. But this also means that if the guys who types the word to begin with, all the letters will change to it at the same time. say he was trying to type "GHOST" the second he hit "G" the word would look like "GGGGG". now obviously,this makes hangman winnable in one turn, but that's not really why it's bad. It's bad because you're no longer guessing a word, only a letter. And that's not how the game goes. So to solve this, I need to make a system that will only make the letter that is active (or has the property "Active" set to TRUE) be the one that gets typed in.
So I can have a system, starts with one empty that controls all of the text objects. All it has is a property called "numbers" that increases one when you hit anything but leftArrow, and decreases when you hit leftArrow. now, my six (6) text objects, each representing a single letter, will always-and-copyProperty from "Numbers".
For the first letter, if the value is one, you are active
For the second letter, if the value is two, you are active...
only when a object is active will typing change it's value.