Is it not possible to do "if Table cell value is, then do this"...?

Just as the title says... Is there no such thing as taking a Table's cell value, and making a rule out of it??? If not, why the heck not?! lol... Seems rather ridiculous, really?

Comments

  • ArmellineArmelline Member, PRO Posts: 5,415

    You can indeed do that.

  • JodyMitomaJodyMitoma Member Posts: 307

    Thank you very much @Armelline!

  • crestwoodgamescrestwoodgames Member Posts: 191

    I am not sure if that feature is on the windows version yet.

  • JodyMitomaJodyMitoma Member Posts: 307

    @crestwoodgames said:
    I am not sure if that feature is on the windows version yet.

    You're right. We don't have the Condition "Numeric Expression". :(

  • colandercolander Member Posts: 1,610

    It is coming in 11 which hopefully Windows users will have soon

  • crestwoodgamescrestwoodgames Member Posts: 191

    I think there is a way to work around this. Maybe if you used a self attribute and constrained it to the table value. Then, use that self attribute in your rule.

    Ex.

    Constrain self.x to tableCellValue(xx,xx,xx)

    Then have your rule

    If self.x =123
    Do this.

    Might be a better way, but was just throwing out ideas.

  • ArmellineArmelline Member, PRO Posts: 5,415

    @crestwoodgames' suggestion should do the trick for you. It may, depending on how you need to use it, be possible to avoid the constrain if you can put the value on the left of the expression. So for my example above, you could make an integer attribute with a value of 10, and then do this:

  • TosanuTosanu Member, PRO Posts: 388

    Rather than constrain, i prefer to put it on an every timer or Self.time% loop. I find this way i can control the speed of updating, and sometimes thats very valuable for the behavior patterns that tables can control.

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    edited May 2014

    Sucks that Windows peeps don't have table to table comparisons yet. It's a feature I was wanting for years. So glad it's finally here (been using it for more than a few months now) - extremely useful!

Sign In or Register to comment.