ok this is a total noob question but I could not find it in the tutorial wiki, how do you get a weapon that's created into a container placable (Ex: a longsword into a sack, small)
Getting a weapon into a container placeable
Débuté par
Belgian Waffles
, mai 29 2010 08:38
#1
Posté 29 mai 2010 - 08:38
#2
Posté 29 mai 2010 - 09:18
The simplest way is to have a unique template for the container. Unfortunately there is no way to manipulate the inventory of an object on the instance level, so if you put a sword in the generic small sack, it will be in every generic small sack.
To make a new template, go to the pallet window, right click and select new placeable. Use the placeable editor, select inventory list and add whatever items you want. You'll want to select the appearance type as well (making sure it's a container type) and give it a name.
You could also add the item through scripting, but there's really no reason to do that unless you want to change what's in the chest based on something the player does.
To make a new template, go to the pallet window, right click and select new placeable. Use the placeable editor, select inventory list and add whatever items you want. You'll want to select the appearance type as well (making sure it's a container type) and give it a name.
You could also add the item through scripting, but there's really no reason to do that unless you want to change what's in the chest based on something the player does.





Retour en haut






