Placing items in containers

Post » Mon Jun 18, 2012 1:04 am

How do i place an item in a specific barrel? I figured out how to place gold in a barrels parent object which means it aplies to all barrles.
User avatar
R.I.p MOmmy
 
Posts: 3463
Joined: Wed Sep 06, 2006 8:40 pm

Post » Sun Jun 17, 2012 4:02 pm

In your script, set up an ObjectReference property and link it to the specific barrel in your scene, use that instead of the base object?

I'd have to see what you've already done to know where to start, really.
User avatar
Dan Scott
 
Posts: 3373
Joined: Sun Nov 11, 2007 3:45 am

Post » Sun Jun 17, 2012 9:08 pm

In your script, set up an ObjectReference property and link it to the specific barrel in your scene, use that instead of the base object?

I'd have to see what you've already done to know where to start, really.

If it involves scripting I will wait until i get further into the tutorials. Thanks though
User avatar
Leanne Molloy
 
Posts: 3342
Joined: Sat Sep 02, 2006 1:09 am

Post » Mon Jun 18, 2012 2:08 am

Open up the Barrel Base object, change the BaseObjectID to a new unique name, such a MyBarrelContainer01, hit ok, when asked to create a new Object, click yes.



There, you have your new custom container which you can add items to without disturbing barrelcontainers that are already placed in the world.

Now add whatever you want to it, and place it somewhere.
User avatar
Rachell Katherine
 
Posts: 3380
Joined: Wed Oct 11, 2006 5:21 pm

Post » Mon Jun 18, 2012 2:48 am

Open up the Barrel Base object, change the BaseObjectID to a new unique name, such a MyBarrelContainer01, hit ok, when asked to create a new Object, click yes. There, you have your new custom container which you can add items to without disturbing barrelcontainers that are already placed in the world. Now add whatever you want to it, and place it somewhere.


Worked great thank you.
User avatar
Maddy Paul
 
Posts: 3430
Joined: Wed Feb 14, 2007 4:20 pm


Return to V - Skyrim