DarkAthena Posted February 13, 2012 Share Posted February 13, 2012 Hi, I'm making a mod with the same type display case as Umbecano's and I'd like to put several different items inside when I click the display case. I'd like to script it so when I select "yes" to add one of the items, it is automatically placed inside the case at a predetermined spot. I've looked at the Skingrad Ayleid Statue Mod which places the Ayleid statues in the case in exactly the fashion I'd like to duplicated. The difference is that my items are all different. I'm not sure how to script this so it will work with my items. I'd love some assistance! Thank you in advance! Kate Link to comment Share on other sites More sharing options...
WarRatsG Posted February 15, 2012 Share Posted February 15, 2012 If it is a predetermined item going into a predetermined space, then it should be possible to script - especially if someone else has already done it. If you plan to make your mod work in the exact same way as the mod you have mentioned, then all you have to do is change the name of all the references. So change the name of the Ayleid statues to the names of your own items, then do the same to the spaces they fill. Link to comment Share on other sites More sharing options...
DarkAthena Posted February 15, 2012 Author Share Posted February 15, 2012 If it is a predetermined item going into a predetermined space, then it should be possible to script - especially if someone else has already done it. If you plan to make your mod work in the exact same way as the mod you have mentioned, then all you have to do is change the name of all the references. So change the name of the Ayleid statues to the names of your own items, then do the same to the spaces they fill. I tried that and it didn't quite work. He calls a count function using the same variable, and my items are all named something different. I don't know how to make it quite work. It will place the first item, but it won't work for any subsequent items. I'm pretty sure I'm using the correct syntax. I appreciate your help! Thank you. Please let me know if you have any ideas. :) Link to comment Share on other sites More sharing options...
WarRatsG Posted February 16, 2012 Share Posted February 16, 2012 If you wouldnt mind, post your script and the script that you are using as a template if possible. Remember to insert it as a code snippet by highlighting the script, then clicking the button that looks like < >. It's near the emoticon button. It makes your script look like this, and doesn't squash text together so that we can show tabs. It's easier to read Link to comment Share on other sites More sharing options...
Recommended Posts