keyboard input (not the usual question)

forkliftforklift Member Posts: 386
edited November -1 in Working with GS (Mac)
I know there's a keyboard demo, I've seen how it works. I know you can kind of fake input by storing different attribute values and then display them all. My question is: if you do this with numbers, and then store the string of numbers, can you insert that string into a change attribute function?

Such as: pressing the buttons 1,2,3 will store the numbers as game.1, game.2, game.3. When you insert "game.1, game.2, game.3" into a move speed, will it read as the number "one hundred twenty three"?

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    It might is you remove the commas you may have to do something like ((game.1*100)+(game.2*10)+game.3) though instead
  • forkliftforklift Member Posts: 386
    Hadn't thought of multiplying by powers... good call.
Sign In or Register to comment.