Fredas Posted May 17, 2014 Posted May 17, 2014 As the topic says, I'm looking for a script-based method for pinging SexLab to check if / when it's done initializing on a new game (or installation, or whenever). I already made a brief stab at dissecting the framework to find a method for myself, but I reckon somebody knows what I should be looking for. Thanks.
Ashal Posted May 17, 2014 Posted May 17, 2014 if SexLab.Enabled && SexLab.Threads.Length == 15 ; // SexLab is most likely initialized. endIf Or for something event based. RegisterForModEvent("SexLabInstalled", "InitDone") function InitDone(int version) Debug.TraceAndBox("SexLab version "+version+" has finished initializing!") endFunction In addition to the mod event SexLabInstalled, there is also SexLabUpdated, which sends the same argument.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.