Bluarchon Posted April 13, 2013 Share Posted April 13, 2013 Is there a scripting practice to first check if SKSE is installed? That way I would only continue using SKSE commands if it exists. Link to comment Share on other sites More sharing options...
scrivener07 Posted April 13, 2013 Share Posted April 13, 2013 http://www.creationkit.com/SKSE_Script if(SKSE.GetVersionRelease() > 0) debug.trace("skse is installed") else debug.trace("No skse") endif Link to comment Share on other sites More sharing options...
Bluarchon Posted April 14, 2013 Author Share Posted April 14, 2013 Thanks man! Link to comment Share on other sites More sharing options...
Extragorey Posted July 15, 2014 Share Posted July 15, 2014 On 4/13/2013 at 4:30 PM, scrivener07 said: http://www.creationkit.com/SKSE_Scriptif(SKSE.GetVersionRelease() > 0) debug.trace("skse is installed") else debug.trace("No skse") endif That's great, except GetVersionRelease() will still throw an error if the function doesn't exist (as is the case if they don't have SKSE). I'd prefer a "clean" or error-free way of checking, if possible. Link to comment Share on other sites More sharing options...
kayden87 Posted July 15, 2014 Share Posted July 15, 2014 Console -> GetSKSEVersion and hit enter. if it says ur version number then its working. If it says command cant be found then its not wokring. Link to comment Share on other sites More sharing options...
Extragorey Posted July 15, 2014 Share Posted July 15, 2014 On 7/15/2014 at 3:28 AM, kayden87 said: Console -> GetSKSEVersion and hit enter. if it says ur version number then its working. If it says command cant be found then its not wokring.The original question was regarding scripting practice. As you say, checking whilst in-game is trivial. But I'd like to know how to write code to check if the user of my mod has SKSE running, preferably without throwing errors. Link to comment Share on other sites More sharing options...
Dokonaut Posted March 7, 2016 Share Posted March 7, 2016 On 7/15/2014 at 3:28 AM, kayden87 said: Console -> GetSKSEVersion and hit enter. if it says ur version number then its working. If it says command cant be found then its not wokring. Thanks, this actually helped me with my problem of trying to figure out the version # Link to comment Share on other sites More sharing options...
Reneer Posted July 8, 2017 Share Posted July 8, 2017 (edited) On 7/15/2014 at 4:43 AM, Teh Masterer said: The original question was regarding scripting practice. As you say, checking whilst in-game is trivial. But I'd like to know how to write code to check if the user of my mod has SKSE running, preferably without throwing errors. You can't check without throwing an error, because in order to check if SKSE is installed you have to call an SKSE function at some point. And, obviously, if SKSE isn't installed those functions won't exist. Edited July 8, 2017 by Reneer Link to comment Share on other sites More sharing options...
Madcat221 Posted July 8, 2017 Share Posted July 8, 2017 *deleted nevermind* Link to comment Share on other sites More sharing options...
tcat5051 Posted April 28, 2019 Share Posted April 28, 2019 My question is if I have the skse running in the steam-streamapps-common file how do I get nexus-vortex to see it , cause all I get is no exe file found. Link to comment Share on other sites More sharing options...
Recommended Posts