Is it possible to do a rule like "When Attribute __________ is" , and Table Cell Value is the blank?
Chakku
Member Posts: 1,513
Is it possible to do a rule like "If Table Value < New high score"
What I'm asking is that when you start a rule, there is not a way to select a table value for the "When Attribute __________ is this..."
Is it possible to put a table cell value in this blank?
Thanks
Chakku
What I'm asking is that when you start a rule, there is not a way to select a table value for the "When Attribute __________ is this..."
Is it possible to put a table cell value in this blank?
Thanks
Chakku
Best Answers
-
Braydon_SFX Posts: 9,273Not at this time - it'd be awesome if we could, though.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
-
tatiang Posts: 11,949When you want to compare table cell values, you first need to convert one of them into an attribute. For example:
Change Attribute self.Score to TableCellValue(game.mytable,1,1)
If/When self.Score < TableCellValue(game.mytable,1,2)
[...actions...]New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
-
LiquidGameworks Anchorage, AKPosts: 956This is definitely on my list of "wishes". There are so many times where I wouldn't even need attributes at all if I could use tables on the left side of a rule...
Answers
Yep, that's what I thought. For the time being I'm constraining the table cell value to another attribute, and then using that attribute in the blank.
Thanks for your reply
Chakku
yep, me too.
@tatiang
thanks, thats what I'm doing
Chakku