Hi —,
Thanks for your reply.
Yes - we (the game developer, and I, the animator) both tried various combinations of 'for' and 'for each', sometimes regarding the Spriter object, sometimes regarding the Sprite - using instance variables ("1", "2" ect') to match one to the other.
Eventually, it would seem that the action kept attaching all the Sprite instances to the the same Spriter instance.
I hope the attached file helps.
Thanks for reporting this. We'll look into it as soon as we can and report back.
BTW, did you try using the for each loo function in Construct to help make sure it's checking through all instances of the objects?
> Hi lucid et al.,
>
> I am posting this here, after receiving no reply on the Brashmonkey forums.
> I understand you are busy with bringing out Spriter 2, but hopefully you'll get a chance to look at his.
>
> I have encountered an issue with the Construct2 plugin, version "1/7/2018", wherein the action "Set C2 object to Spriter object" would only work for one instance of each in a given layout.
> Meaning, if you have one Spriter object with an action point, to which you want to pin a single C2 object, it works well.
> But if you have multiple instances of either, no amount of 'pick' conditions will enable attaching a particular instance of a C2 object, to a particular instance of the Spriter object: C2 will attach one C2 object to the last Spriter instance and ignore the others.
>
> As I understand it, the crux of the problem, is that plugin will search for a C2 'object type' not an instance to attach.
>
> Our game developer came up with a workaround, which I will attach here:
> https://drive.google.com/file/d/1QGWGs46s7LwRmwtRl9Ba_ZZjSu33Z17V/view?usp=sharing
>
> Cheers,