Condition from Table

sparkaniasparkania Member, PRO Posts: 300
Is there a tutorial someone can point me to where I can learn how to IF: table CELL value < > = number, Do/Else?

Attribute condition block does not take me in that direction..

Comments

  • LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
    At this point, direct entry isn't possible. The best way is to create an attribute to hold that table value, then make the rule reference that new attribute. Such as contain game.highscore to TableValueblah. Rule: If game.highscore<score, do something.
  • sparkaniasparkania Member, PRO Posts: 300
    see.. when I learned that.. it really made me wonder then Why a table if it's going to be constrained out to a game or scene attribute..
  • LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
    Well, there are a lot of instances where tables are useful without an additional attribute. I use tables all the time, and have generally reduced my global attribute use by 50% or better.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Also, in many cases, it's possible to get away with using a Change Attribute instead of a Constrain Attribute when retrieving table data.
Sign In or Register to comment.