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: 252
Reputation: 1,713

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
298
S
120
G
96
Posts: 7,342
Reputation: 71,460

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests