Keeping 'Display Text' on screen

I'm very new to GS, and I"m sure this is a very simple question for most, but I'm struggling. I've created a rule in an actor that if a particular number or letter is pressed on the keyboard, the display text behaviour is used. This works fine, and the text I'd like to be displayed appears perfectly when a particular button is pressed, but it disappears again once I've released they key. How do I keep there text there for the rest of the scene, even once the specific key has been pressed (and released)

Thanks so much in advance.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Use a boolean...

    When [key is pressed]
         Change attribute game.pressedKey to true

    When attribute game.pressedKey is true
         Display Text

  • sfolleysfolley Member Posts: 2

    Ahhh thank you so much! You're a champ, and much appreciated! :smile:

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    You're welcome!

Sign In or Register to comment.