x


key to open gate

hello all

can anyone help me im looking for a scrip that will allow me to be able to pick up a key and use it to open a gate. i need it to be like when you get next to the key it says "do you wish to pick up key" to pick it up you need to press E then with the key you go to the gate and open gate by pressing E, but if you don't already have the key when you press E next to the gate it will say "Gate locked"

if you can help me that will be awesome

more ▼

asked Aug 26, 2010 at 03:45 PM

josif gravatar image

josif
212 57 50 67

i would check out the tutorials on unity3d.com and get a start on programing first.. because your question won't get answered if you ask for other people to right your code for you...

Aug 26, 2010 at 03:51 PM 3dDude

oh i just thought cause its called unity answers i could get answers here sorry i dident know also it wouldn't just help me it will help a lot more people too

Aug 26, 2010 at 03:56 PM josif

its not really a question. Its asking people to write your code.

Aug 26, 2010 at 08:24 PM Thomas Hentschel Lund
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I recommend you take a look at this book. It has many easy to follow tutorials that will lead you to setting up your key routine.

https://www.packtpub.com/unity-game-development-essentials/book

more ▼

answered Aug 27, 2010 at 05:34 AM

Billamu gravatar image

Billamu
277 16 15 24

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x288
x249
x186
x140

asked: Aug 26, 2010 at 03:45 PM

Seen: 2077 times

Last Updated: Aug 27, 2010 at 06:03 AM