klarsen's Forum Posts

  • 1 posts
  • Hi there. I'm still newish to Construct 2, and trying to figure out how I can look up values is stored in arrays that correspond to a key value.

    For example, if I've given a sprite an instance variable set to "30", and I want to look up "30" in column 1 of my array, then read the column 5 value of that same row... how could I approach this?

    (Ultimately, what I want to do is go through all the sprites of a kind, look each up in array containing various attributes, and determine which one has the highest number in a certain column. Any push in the right direction would be appreciated greatly, though.)

    Thanks in advance to anyone who can help.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 1 posts