Setting values for an object created by an expression

This forum is currently in read-only mode.
  • I've got an object that I create based on a value from an array, it's also supposed to set the objects angle and filter. Rather than creating a different event for each different objects or tiles, I figured it would be easier to just grab the Object ID and create one event to handle all the different objects. It creates the right object, the only problem is that there is no way to use that same expression to change the angle and filter value. I would set a private variable to change the values from there, but the only issue is I won't be able to access that correct item on the array. Any ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nevermind, I've got it. It was a matter of creating a separate object to hold the values, then out of the loop if that object was colliding with one of them, it set it the values to the created object and destroys the temp object.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)