Hi everyone, I have 2 questions or more)) 1) how to put item on the table? 2) how to collect item and put it in my bag?
Comments
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
edited October 2012
If you Google "tables gamesalad" you'll see some video tutorials that explain how to use tables.
To answer your question in a more general way, (1) you save an attribute to a table cell, and (2) you check the value of the attribute in the cell and based on that, you move an actor to your bag.
If you Google "tables gamesalad" you'll see some video tutorials that explain how to use tables.
To answer your question in a more general way, (1) you save an attribute to a table cell, and (2) you check the value of the attribute in the cell and based on that, you move an actor to your bag.
Thanks bro! May I explain by other way) sorry for my English. My English is horrible)) example: my player need to take ashtray and throw it to the window. Ashtray will be on the sofa. I have scene with sofa, armchair, mirror and e.t.c. First I need to put ashtray on the sofa, second I need to take from the sofa and collect it in my bag than take out from my bag and throw it to the window. Please
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
@alarm656 You're asking questions that require not just an answer, but in some cases several answers, or several demos. I recommend starting with the Cookbook tutorials (http://cookbook.gamesalad.com/tutorials) or something like my videos to learn the basics of GameSalad (see the two links in my signature).
A better question than "how do I collect an ashtray and put it in my bag" would be a question that starts with "I've changed game.HasAshtray to true and I have a rule in my bag actor that says when game.HasAshtray is true..."
You're asking very general questions, which is understandable when you're new to GameSalad, but the forums provide answers to specific questions (once you have a basic knowledge) much better than to general questions such as these.
Comments
To answer your question in a more general way, (1) you save an attribute to a table cell, and (2) you check the value of the attribute in the cell and based on that, you move an actor to your bag.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
A better question than "how do I collect an ashtray and put it in my bag" would be a question that starts with "I've changed game.HasAshtray to true and I have a rule in my bag actor that says when game.HasAshtray is true..."
You're asking very general questions, which is understandable when you're new to GameSalad, but the forums provide answers to specific questions (once you have a basic knowledge) much better than to general questions such as these.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User