Bluarchon Posted April 13, 2013 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.
scrivener07 Posted April 13, 2013 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
Extragorey Posted July 15, 2014 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.
kayden87 Posted July 15, 2014 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.
Extragorey Posted July 15, 2014 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.
Dokonaut Posted March 7, 2016 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 #
Reneer Posted July 8, 2017 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
tcat5051 Posted April 28, 2019 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.
Recommended Posts