How To Check A Table As A Rule
So I have this table of clothes that your actor can wear, so what would I do if I want them to use them in a rule like
rule -> ThisTable ThisColumn ThisRow -> is true -> then:
(what it will do is that then it will enable it in the clothing menu and it will make it no-longer achievable because you already have it.)
The rest of the code (and the one below the rule) I had already made it, I just want to know how to check it directly from the table or which other way can I implement it?
Thanks!
Best Answer
-
tatiang Posts: 11,949
When numeric expression tableCellValue(tableName,row,col)=true
.....You would enter the numeric row and column numbers instead of "row" and "col" above.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
Use the "numeric expression" or "text expression" in the rule.
Mental Donkey Games
Website - Facebook - Twitter
@NipaDidIt But how? Can you please leave an example on how to use it?
Thanks.
Thanks! @NipaDidIt and @tatiang