Typing question

ashtmjashtmj Member, PRO Posts: 405
edited June 2012 in Working with GS (Mac)
I was wondering if there is a way to make a keyboard on screen?

example, I have 26 actors on screen A to Z and I want to have something like

player touches A
if touch it pressed change attribute WORD to WORD+a

only that doesn't work of course, does anyone have a way to do this? I know I can just use the keyboard input, but I'm trying to avoid using that

Thanks much!
-Ash

Best Answer

Answers

  • JustMe74JustMe74 Member, PRO Posts: 542

    if touch it pressed change attribute WORD to WORD+a
    I assumed it would work this way for strings in GS (like it does in VB and some other languages) but it doesn't. The correct syntax is Change Attribute WORD to WORD .. "a"


  • ashtmjashtmj Member, PRO Posts: 405
    Perfect, Thanks guys!
    And thanks as always Tshirt!

    and rather then opening another discussion, I one other unrelated question.
    is there a way to select a few table cell values at once?

    say i have a table with 10 rows going 1 through 10 can I have one rule that works that if the player selects any number 1 trough 10 it will trigger an event without making 10 different rule conditions?

    Thanks again
Sign In or Register to comment.