Can't display text and attribute, why?

I write in a display text:
"objmove".. game.obj move
but said me invalid expression! why??
"objmove".. game.obj move
but said me invalid expression! why??
Best Answer
-
tatiang Posts: 11,949
Also, if you're using a boolean attribute, the value can only be displayed by itself (Display Text game.objmove). Using Display Text with concatenation (Display Text "objmove "..game.objmove) on a boolean value gives an invalid expression. Not sure why.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
To make it work, click the arrow pointing to the right and make it face down. This should open a box. Click the "Game" section in the box. Then scroll down until you see the attribute you're looking to open. Double click it and it should automatically display in the text box. You can then click the checkmark.
Hope I could help!
but you can always put more than one displayText on the actor
displayText1--the name for the boolean √ Wrap inside actor
displayText2--the boolean … leave Wrap unchecked
or, just align one left and the other right or center
change the color and the font and fontSize on each Display behavior