how do to this, without coding each keys .. ?
i.imgur.com/CgldAI3.jpg
in my game you can pick up some keys, which give you the possibility to destroy the assorted kind of wall.
i want more than 10 different WALLS/KEYS.
i could code for each object from KEY01 to KEY10
but i would like to know if its possible to code it in one time
------------
i have same problem, with some doors with a switch.
i know how to do it if i make code for each DOOR/switch , which are different objects.
but do the code one time for each couple of WALL/KEY or DOOR/switch working, i dont know how to do.
i hope you understand me.
thanks for help.