confirm button contingent upon a row in gamesalad
digitalzero
Member, BASIC Posts: 639
okay i have a character select button that has a left and right and your "picker" will either go to the next or previous character... this confirm button needs to be pressed only if the character is unlocked... and i have that in my table... is there anyway to pretty much write... if self is touched and TBcharacterunlocked, true, 1 then go to the next scene... i hope you guys understand what im talking about lol im horrible with explaining things i just pretty much need the "row" to be true to go to the next scene if you know what i mean
Comments
So if there's something else you need, post a screenshot of your game or a sketch of what you're hoping to do. Don't let words stand in your way!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
thats what i have... i also have a button that will allow the game.confirm to be true which is what the grey button is on the next picture here
for some reason though im pretty sure its the self.unlocked attribute thats not acting right... any advice @tatiang?
When you click on a character, you would change attribute game.characterSelected to self.position.
Then in your Rule, you would change self.Unlocked to tableCellValue(tableName,game.CharacterSelected,column) assuming you have each character's unlock data in a column and each row represents a different character.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I can't see the full tableCellValue expression in your screenshot nor can I see the table itself. If you want, you can send me a PM with a link to download your file and I can check it out. Or you can post a few more screenshots. I'm sure we can figure it out.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I'll see what I can do to help you. If it's a quick fix, I'll let you know what needs to be changed. If not, I can provide coding/consulting help for a fee.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User