icecreamassassin Posted February 1, 2015 Author Share Posted February 1, 2015 ok, cool. Yeah I was playing around with it and I think it may work using my existing display handling script with the display and item lists being changed out and filled from the getform init function. Is there a way to fill the properties on one script with the filled properties from another? I have like 120 things I defined in the setup script but I've run out of room in the script memory so I was going to fill the lists with another quest script (because I can't figure out how the hell to get Notepad++ to work) Link to comment Share on other sites More sharing options...
IsharaMeradin Posted February 1, 2015 Share Posted February 1, 2015 Workaround if you can't get compiling to work in Notepad++ or in SublimeText and still need larger scripts than CK memory allows. Edit the script in the text editor. Save the changes.Open the Creation KitGo to the "Game play" drop down menuSelect the "Papyrus Script Manager"Use the filter to obtain your scriptRight click and choose "Compile" But to answer your question. Yes it is possible. I have one script that is nothing but properties shared across a ton of scripts. I didn't want to keep refilling properties and introduce potential errors by accidentally picking the wrong thing. Just do it the same as you would share a function from another script.Example: In the property section abim_IMS_PublicPropertyScript Property PPScript AutoIn use in the script Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer) GetWeightlessBool() If !(PPScript.ModArmors.HasForm(akBaseItem)) If !(WorkingList.HasForm(akBaseItem)) WorkingList.AddForm(akBaseItem) EndIf If UseMakeWeightless == false Float Add = akBaseItem.GetWeight() * (aiItemCount as Float) MyWeight = MyWeight + Add SelfItem.SetWeight(MyWeight) EndIf EndIf EndEvent In case you were wondering, the script is on a container and depending upon choices made the container is either weightless or its weight becomes that of the stored contents. (FYI - there is more to the process than just this) Link to comment Share on other sites More sharing options...
icecreamassassin Posted February 1, 2015 Author Share Posted February 1, 2015 hmmm yeah the compiling doesn't seem to work. I get the same memory error Link to comment Share on other sites More sharing options...
icecreamassassin Posted February 1, 2015 Author Share Posted February 1, 2015 (edited) nix that, I just had something messed up in it EDIT: Sweeeet got it working. All forms are added to the lists and the display auto setup activators work just like the one for integrated content, fantastic! Thanks again Edited February 1, 2015 by icecreamassassin Link to comment Share on other sites More sharing options...
Recommended Posts