x


inventory with equip

need help i have the inventory system from : http://forum.unity3d.com/viewtopic.php?t=57364 and i have made this equip script:

var EmptyGameObject : Transform;
var ArmorObject : Transform;


function OnTriggerEnter()
{
    ArmorObject.parent = EmptyGameObject; 
    ArmorObject.position=EmptyGameObject.position;
    ArmorObject.rotation=EmptyGameObject.rotation;
}

how can they work together? so I can equip wapons and armor??

more ▼

asked Aug 03 '10 at 11:26 AM

crasyboy42 gravatar image

crasyboy42
244 21 21 23

Use the proper code formatting button (button with the 1s and 0s)

Aug 03 '10 at 12:24 PM spinaljack

thanks for that :D

Aug 03 '10 at 01:58 PM crasyboy42
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

http://forum.unity3d.com/threads/90871-advanced-inventory-system-example use this it has every thing you need ^_^ I made it.

more ▼

answered Jun 05 '11 at 02:42 PM

slkjdfv gravatar image

slkjdfv
377 30 33 38

(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:

x5406
x405
x23

asked: Aug 03 '10 at 11:26 AM

Seen: 3962 times

Last Updated: Jun 05 '11 at 02:42 PM