Textexpression buggy?

Hello,

I'm working with the new InApp behavior but experienced some strange results. I've followed the instructions
on the gamesalad guide.

In this Rule:

Textexpression: tableCellValue(game.purchaseTable,1,5) is "purchased"
...Do something...

It seems like this expression is always true. Even when I put: tableCellValue(game.purchaseTable,1,5) is "dawuhwae" in the rule.

Can someone replicate this strange behavior?

Greetings

Comments

  • JSprojectJSproject Member Posts: 730

    When a successful purchase has been made then save that status to boolean of your own and then perform your checks against that attribute instead of trying to validate against the purchasetable.

  • JayJayDJayJayD Member Posts: 48
    edited April 2015

    Yes i know, the rule was in the Purchase button. The point was that the expression was always true, no matter what i check.

  • JayJayDJayJayD Member Posts: 48

    Ok I've done some tests. It is working when i unlock (from prototype) the button even if not changing anything. Strange.

    Maybe this helps someone who have similar problems.

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

    @JayJayD said:
    Can someone replicate this strange behavior?

    I wasn't able to.

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

Sign In or Register to comment.