Working with Tables

SavvyAppSavvyApp Member Posts: 5
edited August 2012 in Working with GS (Mac)
I thought that I would start a thread for anything and everything tables. Fist of all I have a few questions

1. how can I create a rule that states if the value of a cell is at least 5 and the actor is pressed then subtract 1 from the cell?

2. What are some of the uses of tables?

3. Can I store the value of a table as an index varriable instead of integer, boolean, or text.

Post more questions and answers about tables on this thread.

Comments

  • games4fungames4fun Member Posts: 185
    I also am wondering if its possible to create a rule that states if the value of a cell from a table.
  • ironDanironDan Member Posts: 148
    Yes, all you need to do is create a Self Attribute and a Rule that States if Self Attribute = TableCellValue,Tablename,row,column then do whatever.

    Example: You have a cell value that is 5 and you want something to happen when your actor = the value of that cell. So you create a self.attribute (integer) say you call it "Do This" and set it to a value of 5. Then create a rule that say If self.DoThis = TableCellValue,TableName,row,column then do whatever you want to happen.
  • SavvyAppSavvyApp Member Posts: 5
    thanks iron dan. that is more steps than would be perfect but thats gamesalads fault. Good method though :-bd
Sign In or Register to comment.