angelwraith Posted March 10, 2010 Posted March 10, 2010 dont know if anyone has posted this or anything like this but i have seen the methods others use to sort items and thought it was waaay too complicated and thought of an easier way select all the items you want sorted into said container and drag them onto a form list (make one, they're in misc.). make sure the container is persistant and name it whatever you want (for here its myContainer) make a terminal and use this script replacing "myContainer" with w/e name you decided on.also you must replace "myListName" with whatever you called your list THATS IT YOURE DONE, yeah you heard me no more bs hardcoding refrence names over and over and over.. its drag and drop baby!!! oh 1 more VERY IMPORTANT NOTE this script requires FOSE to be loaded in both the editor and the gameif you dont know how go here http://geck.bethsoft.com/index.php/Fallout...E_with_the_GECK int listnumF int myCount int formrefnumF ref formref set formrefnumF to ListGetCount myListName Label 1 if listnumF <= formrefnumF set formref to listgetnthform myListNamelistnumF set myCount to player.getitemcount formref player.removeitem formref myCount myContainer.additem formref myCount set listnumF to listnumF + 1 goto 1 endif set listnumF to 0
Callighan Posted March 12, 2010 Posted March 12, 2010 Thanks for your contribution. This should be in the GECK wiki or someplace.
x BattleHeart x Posted July 13, 2010 Posted July 13, 2010 I think I'am going to use this script :)Thanx!
HugePinball Posted July 13, 2010 Posted July 13, 2010 Yes, FormLists are very useful for a lot of things.
krimzin Posted July 13, 2010 Posted July 13, 2010 I agree. Formlists are probably one of the most useful features added to fallout 3. (and the ability to use firearms lol)
lateral Posted March 22, 2014 Posted March 22, 2014 On 3/10/2010 at 10:19 PM, angelwraith said: dont know if anyone has posted this or anything like this but i have seen the methods others use to sort items and thought it was waaay too complicated and thought of an easier way select all the items you want sorted into said container and drag them onto a form list (make one, they're in misc.). make sure the container is persistant and name it whatever you want (for here its myContainer) make a terminal and use this script replacing "myContainer" with w/e name you decided on.also you must replace "myListName" with whatever you called your list THATS IT YOURE DONE, yeah you heard me no more bs hardcoding refrence names over and over and over.. its drag and drop baby!!! oh 1 more VERY IMPORTANT NOTE this script requires FOSE to be loaded in both the editor and the gameif you dont know how go here http://geck.bethsoft.com/index.php/Fallout...E_with_the_GECK int listnumFint myCountint formrefnumFref formrefset formrefnumF to ListGetCount myListNameLabel 1if listnumF <= formrefnumF set formref to listgetnthform myListNamelistnumF set myCount to player.getitemcount formref player.removeitem formref myCount myContainer.additem formref myCount set listnumF to listnumF + 1 goto 1endifset listnumF to 0The script doesnt work for me. I cant get it to save
tg626 Posted January 19, 2016 Posted January 19, 2016 If you copied it in that run on sentence format, that's why. (I'm guessing some change in the forum since the original posting did it) Here (I think) is the correct formatting:; make a terminal and use this script replacing "myContainer" with w/e name you decided on. ; also you must replace "myListName" with whatever you called your list ; By: Angelwraith int listnumF int myCount int formrefnumF ref formref set formrefnumF to ListGetCount myListName Label 1 if listnumF <= formrefnumF set formref to listgetnthform myListName listnumF set myCount to player.getitemcount formref player.removeitem formref myCount myContainer.additem formref myCount set listnumF to listnumF + 1 goto 1 endif set listnumF to 0
Recommended Posts