Hello, I have a sprite type for standard non player controlled (npc) sprites and at any one time there are a handful of these on screen.
I am doing a loop through this sprite type and within each sprite I've saved the UID of a second sprite (of the same type) in a variable. I'll use this UID to reference the second sprite by way of Pick Instance by UID.
The problem is that I am unable to reference two instances of the same sprite type at once in order to achieve something like the following:
npc_sprite(1).width = npc_sprite(2).width
I've put the (1) and (2) in there to demonstrate that these are different instances of the same sprite type, named npc_sprite.
Hope what I'm trying to achieve makes sense, is there a way to do this?
P.S. I am only using width as an example as the property I am trying to reference is actually a custom variable.