Jump to content

[Papyrus] how to check if on Skyrim LE or SE?


Nymra

Recommended Posts

Posted

I got to a point where it seems I have to set some stuff up differently for LE and SE in the scripts, but I dont want to have 2 sepearate script versions of my mod.

 

So the question is, how can I check via script if I am on LE or SE? I looked for something like GetGameVerStr "Get Game Version" or similar but google or creationkit did not find stuff...

 

thx alot. 

Posted

You could try it with skse, although it's not perfect. ?

SKSE.GetVersion()

But perhaps it helps as a workaround for you?

 

Edit: SKSE.GetPluginVersion() -> SKSE.GetVersion()

Posted
8 hours ago, worik said:

You could try it with skse, although it's not perfect. ?

SKSE.GetPluginVersion ()

But perhaps it helps as a workaround for you?

 

2 hours ago, chaimhewast said:

SKSE.GetVersion() would return 1 for LE, and 2 for SE. I'm pretty sure GetPluginVersion() is for something else.

 

thx alot, this sounds perfectly suitable for my requirements.

Posted
6 hours ago, chaimhewast said:

SKSE.GetVersion() would return 1 for LE, and 2 for SE. I'm pretty sure GetPluginVersion() is for something else.

My bad, yes! That's what I meant.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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