Rules and Table Values

Can I create a rule based on a value in a table without constraining a to an attribute in an actor?

Im getting the impression that in one of the nightly builds its possible?

(its been a few months since I can touch gamesalad)

Comments

  • darrelfdarrelf Member Posts: 243
    Yep - but only in nightly builds at the moment...
  • BenMakesGamesBenMakesGames Member Posts: 85
    Can anyone give me some indication as to how long it takes for the nightly builds to make its way to the standard code?? experiences in the past etc>
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    The expression to expression conditions will make its way to the public in version 0.11.0
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    If you're checking for a particular value only you could set up an attribute for that value once and use that in all of your rules. So if you want to check that the table has a 1 in a cell you could do this.

    game.one = 1

    If game.one = tableCellValue(tableName,row,column)

    Set up a other attributes for any other values you might want to check like:

    game.zero = 0

    I know it uses attributes but you don't need change attributes for it so your code is as small as it would be using the nightlies
Sign In or Register to comment.