GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Search a table and find the row/column of the searched variable?

    Hopscotch
    by Hopscotch · September 2015
    The left side attribute will hold the index of the row that the value was found in, 0 if no match was found.
  2. Search a table and find the row/column of the searched variable?

    Lovejoy
    by Lovejoy · September 2015
    You can place it in a display text if you just want to see in what row/col is at, or even a change attribute if you want to store the value somewhere.
  3. Search a table and find the row/column of the searched variable?

    Lovejoy
    by Lovejoy · September 2015
    So in my example, I'm searching a table "TB_codes" for a key number which i have tied to an attribute since its ever changing "game.lock code" i am searching for th
  4. Day and Night

    Armelline
    by Armelline · September 2015
    24 hour clock, so if that attribute returns 17 that means 5pm, if it returns 5 that means 5am.
  5. Change attribute x and y until both different from 0 not working

    Socks
    by Socks · September 2015
    I'm also not sure what that means either, but as @tatiang say you cannot constrain an attribute to (-1;1).
  6. Change attribute x and y until both different from 0 not working

    stefdelec
    by stefdelec · September 2015
    Every actor has an attribute which is saved in a table according to its position.
  7. Change attribute x and y until both different from 0 not working

    Socks
    by Socks · September 2015
    Constrain means - on every draw cycle change this attribute to A.
  8. Day and Night

    Armelline
    by Armelline · September 2015
    There is a game attribute, game.Clock.Hour that lets you see what hour it is. This lets you decide if you want to use scenery x or scenery y. Attaches is a demo that shows a blue background between 6a
  9. Change attribute x and y until both different from 0 not working

    tatiang
    by tatiang · September 2015
    I don't know how you can constrain an attribute to one of two values. In fact, you can't. Constrain means "keep an attribute at a constant value."
  10. Change attribute x and y until both different from 0 not working

    stefdelec
    by stefdelec · September 2015
    constrain attribute x to random(-1;1)
  11. Change attribute x and y until both different from 0 not working

    Socks
    by Socks · September 2015
    [If X is equal to zero] and [Y is equal to zero] is equal to or larger than [constrain x ( random)] and [constrain x ( random)]
  12. Change attribute x and y until both different from 0 not working

    stefdelec
    by stefdelec · September 2015
    If x= 0 and Y=0 => constrain x(random) and constrain y(random). Isn't the syntax right?
  13. Change attribute x and y until both different from 0 not working

    tatiang
    by tatiang · September 2015
    choose a random row using Change Attribute game.row to random(1,tableRowCount(tableName))
  14. Change attribute x and y until both different from 0 not working

    stefdelec
    by stefdelec · September 2015
    I am trying to get attribute x and y both different from 0, and certain value depending on their location.
  15. Scoring Board Problem

    Tachito_v
    by Tachito_v · September 2015
    (Quote)
  16. Scoring Board Problem

    Thunder_Child
    by Thunder_Child · September 2015
    Sounds like a simple "game level Boolean" called something like "game over" should be used....when game over is false use your scoring attribute score +1 and do an
  17. How to trigger a rule only once?

    The_Gamesalad_Guru
    by The_Gamesalad_Guru · September 2015
    Here is how I would do it. Create a self attribute in the actor or actors call it lockout.
  18. How to trigger a rule only once?

    stefdelec
    by stefdelec · September 2015
    Inside the rule, I said if parameter 1 =>assign a letter And change attribute boolean letter assigned/
  19. How to trigger a rule only once?

    The_Gamesalad_Guru
    by The_Gamesalad_Guru · September 2015
    Yes just create a self attribute and use it as a lockout.
  20. How to trigger a rule only once?

    stefdelec
    by stefdelec · September 2015
    If x= 0 => change attribute to true,
Previous Next

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with GameSalad

Sign In Register

© Vanilla Keystone Theme 2026

Powered By Vanilla