Gamesalad card game

rhinoboy11rhinoboy11 Member Posts: 4
edited December 2014 in Working with GS (PC)

Hi all,
i am new to gamesalad and coding as a whole, and was needing to know if there was a predefined behavior available in gamesalad which detects if a row in a table is missing, or how to give certain actors specific values (for this i mean weapon skill, intelligence etc.) and how to compare them once they have been selected. An answer on either of these queries would be greatly appreciated

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    The way to setup a "missing" table row would be to decide on a value for the first cell/column in that row and check or search for that value. For example, if you had a table that looked like this:

    15
    34
    18
    0
    6

    Then row 4 would be "missing."

    Yes, you can give actors self attributes (e.g. self.Position.X, self.Image, etc.). Any actor or scene or the game itself (aka global variables) can have an attribute added to it by clicking on the + button in the Attributes inspector.

    I recommend checking out the tutorials and other information available here: http://forums.gamesalad.com/discussion/66768/forum-faq#windows.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • rhinoboy11rhinoboy11 Member Posts: 4

    OK, thank you for the information, but i was interesting in something that could register is a whole row was missing, for example if row 2 was removed in an earlier scene, could an actor in a later scene see that or would row 3 just become row 2?

Sign In or Register to comment.