Jump to content

Recommended Posts

  • 1 year later...
Posted
  On 4/13/2013 at 4:30 PM, scrivener07 said:

 

http://www.creationkit.com/SKSE_Script

if(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.

Posted

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.

Posted
  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.

  • 1 year later...
Posted
  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 #

  • 1 year later...
Posted (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 by Reneer
  • 1 year later...
Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...