Give something a unique ID?

Get help using Construct 2

Post » Mon Nov 16, 2015 10:04 pm

I want everyone of these objects to have a unique ID so I dont have to copy the code to everysingle one
B
5
S
1
Posts: 86
Reputation: 571

Post » Mon Nov 16, 2015 10:10 pm

Every object has a UID where the U stands for unique..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Nov 16, 2015 10:12 pm

@phantomunboxing, @LittleStain is right. Whenever you make a new object, it is giving a UID. You can get this UID in your event sheet.

You can also put a bunch of the same object in your game. Then, launch Debug Mode. From here you can look at your objects on the screen and look at their settings. You will notice they all have a UID, or, Unique ID.
B
42
S
17
G
8
Posts: 493
Reputation: 8,306


Return to How do I....?

Who is online

Users browsing this forum: leena222, mindragon73, tatogame and 23 guests