How do to fix Invalid expression with only custom boolean variables

Hi Guys,

I'm getting a object to display custom texts + the condition of the variable.

It returns invalid expression error when I tried to insert boolean type variables.
But it works with other game.time or game.itemOrders or other type variables etc

Examples:
"gameans"..+game.electedAns
(return error, boolean type)

May I know what did I do wrong & what is the solution to it?


Thanks in advance! =)

Comments

  • KevinCrossKevinCross London, UKMember Posts: 1,894
    It would appear you can't display booleans in an expression that also contains a string so you're not doing anything wrong. However I don't think having a plus after the two dots will work for any variable type.
  • greenturtlegreenturtle Member Posts: 22
    It would appear you can't display booleans in an expression that also contains a string so you're not doing anything wrong. However I don't think having a plus after the two dots will work for any variable type.

    Thanks @KevinCross Sorry its a typo, I did it without a plus + sign.

    Can I assume it's a gameasalad bug then?
Sign In or Register to comment.