How do I make a lever?

Get help using Construct 2

Post » Tue Sep 06, 2016 8:11 am

Tekniko wrote:
Smileh wrote:I did it with a variable on Lever called Which_Gate.

Pick UID - Lever.UID
>Pick UID - Lever.Which_Gate

Works like a charm.


I thought UIDs changed every time the game was loaded.


Hmm no, that's why they're unique. As far as I know.
B
14
S
5
Posts: 248
Reputation: 1,705

Post » Tue Sep 06, 2016 8:57 am

@Tekniko: UIDs for the instances already existing in the layout on edit time will be the same.
Perhaps you are mixing up with IIDs which can be reused when you spawn/delete/spawn instances inside a specific object type and which are considered far more "volatile" ?
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
292
S
115
G
96
Posts: 7,295
Reputation: 70,795

Previous

Return to How do I....?

Who is online

Users browsing this forum: Ashley, dop2000, jatoblendy, MathNook, tarek2 and 34 guests