Hi this is driving me insane..
I a sprite type object, I used the editor to place five of them on screen, each insists on having a unique name (I assume these are the instances or the object). On game initiation I store the UID of each of these, but I cannot work out how to access them again via the UID.
I have looked at both the system.pick by comparison, and system.pick nth instance but both require me choose the object, (and then lists the five unique names), if I already knew the object I would not have to pick it, I simply want to pick the object from all game objects that matches the UID.
I have been unable to find example code of picking by UID, would very much appreciate seeing it.
What am I missing?
(when deleting my sprites form the layout, they are referred to as instances, but then each one (instance?) is listed when asked to 'pick an object" in the events sheet, this is confusing me)
Found the problem, thanks to ROJOhounds example here: because I was right clicking on the layout and selecting insert new object, where as I should have dragged them from the projects panel to create instances under the same name.
Thank you
Ben