TobiaszPL Posted March 31, 2019 Share Posted March 31, 2019 Heyyyy... Is there any way to Copy and Paste Cell with Script?i just want to Copy and Paste whole World Cell if Button is Pressed :) for example we have World Cell on X=0 Y=0and we want to Copy it to X=1 Y=0 ^_^ is it possible to do ? :P or Other Question... we Have 2 Worlds World_1World_2 Can we Copy Cell X=0 Y=0 World_1And Paste to Cell X=0 Y=0 World_2?? or Other Question... is there any way to get ALL STATIC objects from cell? well... 1) Get Every object in selected cell2) Get Object Type and Position3) Copy those object to Array or FormList4) Paste in ANY place i want ^_^ or Other Question... Can i create FormList of Static Objects... w8 w8 w8...i have great idea... we dont have this Question Abowe... it was stupid cause sure we can do it... ugh xD i have so great idea its gonna crash my game again :Dim happy and sad cause of this xD happy cause im gonna do EPIC idea :Dsad cause i finally have working game xD- 500+ mods and no crashes xDDD but ok we still have first and second Question :D Short Version:" Can i Copy Cell from ONE World to Other World ? " Link to comment Share on other sites More sharing options...
maxarturo Posted March 31, 2019 Share Posted March 31, 2019 (edited) If you mean from one esp to another esp : This works for interior cells i don't know about exteriors (never tryed it). 1) You load both esp (A & B)> set ACTIVE the esp (A) the one you want the copy to be placed. 2) You DUPLICATE the cell you want from the INACTIVE esp (B) and SAVE. 3) Exit CK > reload CK > open ONLY the esp (A), set it as active and you have the DUPLICATED cell from esp (B). * If your DUPLICATED cell has been Optimize you are gonna have to re - optimize it, wierd issues meight occour. * And you'll need to FINALIZE Navmesh again to all doors because none of them will be working. * I don't think that this can be done through Script. * As for "Copy those object to Array or FormList" i have no idea, never try to do something like that Edited March 31, 2019 by maxarturo Link to comment Share on other sites More sharing options...
TobiaszPL Posted March 31, 2019 Author Share Posted March 31, 2019 Is there any way to Copy and Paste Cell with Script? xDI'm asking about Script only :Pi was working many times with other PPL so i know how to copy things from one esp to otherAll i need is Copy and Paste by Script Also i know how to do it with FormList ( cause i test it now and its working ) but there is this same problem as with Multi Light Switch using FormLists it take more than 2 Minutes to finish work... and it have to finish in 1 sec max XD !y i know i can use Arrays but well... arrays have max size 128 so they are useless if World Cell will have more than 128 objects and its not so hard if my worlds are Over 900% mb usage :P Link to comment Share on other sites More sharing options...
maxarturo Posted March 31, 2019 Share Posted March 31, 2019 I don't think that can be done through script. And even if could be done, the duplicated cell would be completely useless because neither Optimization, neither Navmesh, neither Doors, neither Quests Aliases, neither all the Linked Ref would be working, they would all be linked to the cell that they are been duplicated from. They all need to be realign after duplication. Link to comment Share on other sites More sharing options...
Evangela Posted April 2, 2019 Share Posted April 2, 2019 (edited) Formlists can hold any form, including statics. Getting all statics in a cell, requires SKSE(the FormType for GetNumRefs, GetNthRef), unless you wanna take time writing down everything that is truly a static in said cell. Statics though you can't do anything with because there is no functions for statics. You'll first have to get their references and check what their base types are, then do whatever you want with the reference. Edited April 2, 2019 by Rasikko Link to comment Share on other sites More sharing options...
Recommended Posts