xovoxx Posted July 12, 2020 Share Posted July 12, 2020 Hello, I'm looking for functions similar to "OnPlaySpawn" and "UnlockScience", that I suppose are defined by klei. Where could I find such functions? Thank you! Link to comment https://forums.kleientertainment.com/forums/topic/119996-list-of-klei-defined-functions/ Share on other sites More sharing options...
rawii22 Posted July 12, 2020 Share Posted July 12, 2020 Functions can be located in some pretty different locations depending on what type of mechanic your dealing with, however, if you take a look at the files (not folders) inside scripts, any file that sounds really generic or important most likely has what your talking about. If it's not there, then most important function are probably located in components since that's mainly what the world deals with. Some important files I've had occasion to visit in scripts are actions, componentactions, (constants, tuning, strings, however these don't have functions), consolecommands, entityscript, gamelogic, mainfunctions, modutil (this has all the post and preinit stuff), simutil, worldgen_main Link to comment https://forums.kleientertainment.com/forums/topic/119996-list-of-klei-defined-functions/#findComment-1353187 Share on other sites More sharing options...
rawii22 Posted July 20, 2020 Share Posted July 20, 2020 Also, sorry, there is a list of functions that apply to stuff like TheSim and TheNet and all the "The"s. Those are very useful to know depending on what you're looking for. I'll post a text file with all of them there. 'The' functions.txt 1 Link to comment https://forums.kleientertainment.com/forums/topic/119996-list-of-klei-defined-functions/#findComment-1355937 Share on other sites More sharing options...
xovoxx Posted August 12, 2020 Author Share Posted August 12, 2020 Thanks! That was helpful! Link to comment https://forums.kleientertainment.com/forums/topic/119996-list-of-klei-defined-functions/#findComment-1362128 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now