soupdragon1234 Posted January 9, 2015 Share Posted January 9, 2015 (edited) I have a quest and I want to call a script from a package fragment. The fragment looks like this ;MainScriptquest01.stop()quest02.stop()........quest08.stop() and I compile and it works, but I have to add exactly the same fragment to a dozen or so packages. Now this is very inefficient. I'd like to add something like call MainScript/end fragment to each one, where MainScript is defined elsewhere. Is this possible, if so how? edit: found out how to do it. I just love answering my own questions... (GetOwningQuest() as MainScript).FunctionID() will do it provided MainScript is attached to the same quest. I got it from here incase anyone is wondering: http://www.theengineeringguild.co.uk/elder-scrolls-modding-guides/57-skyrim-papyrus-tutorial-functions-explained and I have to agree with the guy Papyrus is ridiculously complicated. More complicated than C++? Now thats saying something. @Terra Nova: thanks for the input, its always good to get a different perspective. Edited January 11, 2015 by soupdragon1234 Link to comment Share on other sites More sharing options...
Terra Nova Posted January 10, 2015 Share Posted January 10, 2015 Papyrus.. is easier than C++, but Python is easier to learn than Papyrus. Keep in mind, papyrus is a scripting language only, it is not a programming language. However it borrows principles from C++, Java and other programming languages. Link to comment Share on other sites More sharing options...
Recommended Posts