displaying text plus attribute is not working,

hi, i think i this is how i used before,
"highscore"..game.score i need to display a word plus a attribute, that way i keep track which attribute is changing from true or false. is this the correct way?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    If you are concatenating (joining) text to a numeric or text attribute, that will work.

    If you are concatenating text to a boolean attribute, it will NOT work. For some reason, DisplayText cannot handle concatenated boolean attributes ("text"..game.boolean). So you'll need a rule that says When game.score=true-->DisplayText "highscore".."true"; Otherwise-->DisplayText "highscore".."false"

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • guillefaceguilleface Member Posts: 1,014
    thanks thats good to know it was driving me a little crazy , i did was using a boolean attribute.
Sign In or Register to comment.