Opening Doors/Obstacles

Get help using Construct 2

Post » Fri Nov 29, 2013 12:08 pm

How do I make a lever or button open an specific door? I made a little chain of events but all i got was a lever opening ALL the doors in the level.
B
5
Posts: 6
Reputation: 264

Post » Fri Nov 29, 2013 11:36 pm

Give your levers and doors an instance variable called "id".

Match the variables for the levers and doors that are connected, meaning a lever with the id 4 will open any door with a matching id.

Of course in order to achieve this you need to add a condition checking for the door id to be equal to the lever id.
B
22
S
6
G
10
Posts: 1,034
Reputation: 7,514


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Yahoo [Bot] and 7 guests