How do I change UID of an sprite ?

Get help using Construct 2

Post » Thu Nov 24, 2016 12:27 pm

Is it possible to change uid of an sprite ? if possible , then how I can do it ?
B
4
Posts: 26
Reputation: 252

Post » Thu Nov 24, 2016 12:39 pm

Nope, but why would you want to? It's only used to identify a particular instance.
B
47
S
18
G
84
Posts: 2,265
Reputation: 49,784

Post » Thu Nov 24, 2016 1:05 pm

plinkie wrote:Nope, but why would you want to? It's only used to identify a particular instance.

I have another question , Can I get uid of an sprite's with 0 iid?
B
4
Posts: 26
Reputation: 252

Post » Thu Nov 24, 2016 1:13 pm

UID is a unique ID given to each instance in the game.
IID is a number given to identify its order in a given object type.

You can have a Sprite and a Sprite2. They can both have an IID of 0 but never have the same UID.

What is it that you are trying to achieve? Yes, you could pick a sprite with iid=0 and find it's UID.
B
47
S
18
G
84
Posts: 2,265
Reputation: 49,784


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Yahoo [Bot] and 4 guests