LegoManIAm94 Posted February 4, 2010 Share Posted February 4, 2010 How do you place a item in a cell by using a function command. I know for Morrowind you will need to type Placeitemcell "ObjectID" "ItemID" xpos, ypos, zpos, zrot Link to comment Share on other sites More sharing options...
DavidBudreck Posted February 4, 2010 Share Posted February 4, 2010 The command is probably PlaceAtMe http://cs.elderscrolls.com/constwiki/index.php/PlaceAtMe. There are some considerations with this command, so please read the article. Link to comment Share on other sites More sharing options...
LegoManIAm94 Posted February 4, 2010 Author Share Posted February 4, 2010 That will only place items by the pc. I want items to be placed at a specific spot. Link to comment Share on other sites More sharing options...
clockout1 Posted February 4, 2010 Share Posted February 4, 2010 The easiest way would be to place the object in the Construction Set, enable the flag "initially disabled", then enable it via script. Use something like this:Scn EnableScript Begin onTriggered enable [object ref] NOTE: This is a very simple, somewhat unreliable script, but you should get the idea. I recommend refining it a little. Link to comment Share on other sites More sharing options...
Vagrant0 Posted February 4, 2010 Share Posted February 4, 2010 The easiest way would be to place the object in the Construction Set, enable the flag "initially disabled", then enable it via script. Use something like this:Scn EnableScript Begin onTriggered enable [object ref] NOTE: This is a very simple, somewhat unreliable script, but you should get the idea. I recommend refining it a little.Yes, it's almost always better to use an initially disabled object as opposed to one which is created. All applications of placeatme and statics or activators can lead to problems. Most applications of placeatme with items or NPCs can lead to problems. It's because the created item only exists as part of the savegame data, which leads to bloating. An enabled/moved persistent object exists within the mod that places that object, and therefore only records anything related with that object (other than enable state) if it is moved with havok. Link to comment Share on other sites More sharing options...
DavidBudreck Posted February 4, 2010 Share Posted February 4, 2010 PlaceAtMe can be used with any object that is set as a persistant reference. You can then PlaceAtMe in reference to that Object. This is fine as long as you are not planning on placing lots of objects this way. Or, if the objects you place will be used or sold. Such an application might be a Varla Stone that will be consumed pretty quickly. WillieSea does this in his Ancient Towers Mod. Otherwise, as I had indicated when I first mentioned it, and as Vagrant has elaborated on, there are other ways of doing it. Link to comment Share on other sites More sharing options...
Recommended Posts