I'm sorry, I'm a little out of it and despite reading a good deal on IIDs in the manual and throughout the forums, today just isn't the day for my brain to be especially adaptive.
I'm trying to set the IIDs of an object's instances based on its x-coordinates.
E.g.
Object1 X=60 ---> set IID to 1
Object1 X=150 --> set IID to 2
and then..
Object1 IID=1 --> set animation frame to 0
Object IID=2 ---> set animation frame to 1
et cetera.
I understand I might need to use instance variables and/or [though hopefully not] nth instances, as referred to in the manual:
"Pick Nth instance
Pick the instance at a given place in the internal list of picked objects. This is most useful used in sub-events to act on separate instances. For example, in a "Sprite collided with Sprite" event, Pick 0th instance and Pick 1st instance can be used to act on each instance involved in the collision separately.
If all objects are currently picked, this condition can also be used to pick an object by its index ID (IID). For more information, see common features."
Anyways, I'm going to go be active for a bit in an attempt to rejuvenate myself. Any assistance here would be appreciated.
Thank you!