bleese Posted August 30, 2017 Share Posted August 30, 2017 Hi there! I'm relatively new to the creation kit (but I have lots of programming experience) and I'm trying to find a script for learning, but can't seem to find it. I'm looking for the workshopparentscript which is imported from the workshopscript attached to any workbenches in the world. There doesn't seem to be any way to search for scripts (using the object manager yields no results for even the workshopscript, which definitely exists) so I was wondering if any of you guys knew a way I could track down the script? If you wondering what I'm trying to do, I'm trying to make a mod that modifies the generic settlers behavior (the ones that come into the settlement procedurally). I first tried to see if I could get a reference for all the settlers that a workbench owns or is resourced too but it doesn't appear to be possible (perhaps though the workbenchparentscript might have something I could use, There was also a function that allowed you to get all resources belonging to a workshop that was owned by an actor, but I don't know if that'll give me what I need). I then tried to add a script to the templates of the settlers (EncWorkshopNPC ....) (as all settlers would implement the template) but the ability to add scripts is grayed out for some reason, I'm assuming you can't attach scripts to a template. So my current effort is I know that the settlers are created within the WorkshopParentScript (as well as a lot of other useful things that could be used for my mod) and so I'm thinking of editing that script to keep a reference to those settlers (or to have the settlers implement a different template that I create). (The only reason I'm saying this is to show what I've done and if someone knows a better way, but the primary question is to find the workshopparentscript). So can you guys help with this? I definitely appreciate it! Link to comment Share on other sites More sharing options...
Evangela Posted August 30, 2017 Share Posted August 30, 2017 Your default Fallout installation directory/Fallout 4/Data/Scripts/Source Base, DLC1, 2 etc.. User folders contain script sources you can look at it. There is always the papyrus script manager which I think is under the Game menu in the CK. I can't check myself. CK got updated and mine is missing a file and don't really care to update(hassle). Link to comment Share on other sites More sharing options...
deadbeeftffn Posted August 30, 2017 Share Posted August 30, 2017 In CK select menu "Gameplay" -> "Papyrus Script Manager" Link to comment Share on other sites More sharing options...
bleese Posted August 30, 2017 Author Share Posted August 30, 2017 Ah cheers Rasikko and deadbeeftffn! Thanks for helping us noobs out :) I'm surprised by how welcoming this community is with answering questions! Link to comment Share on other sites More sharing options...
Recommended Posts