Jump to content

CommonLibSSE-ng - How to get BSScaleformTranslator (or equivalent)


Recommended Posts

Posted (edited)

For those who are interested, I am attempting to port the Random Sex mod over to CommonLibSSE-ng in an attempt to reduce the impact of any future Bethesda "updates" to Skyrim. I have figured out just about everything I need except for one thing - there seems to be no obvious way to obtain a translator to handle the translation files in interface/translations.

 

SKSE has a rather nice singleton to allow for easy extraction:

 

const GFxLoader* const loader = GFxLoader::GetSingleton();
GFxStateBag* const stateBag = (loader == nullptr) ? nullptr : loader->stateBag;
const BSScaleformTranslator* const translator = (stateBag == nullptr) ? nullptr : stateBag->GetTranslator();

 

Anyone know what the equivalent is for CommonLibSSE-ng?

 

Edited by Arizona_Steve
Spelling/typos

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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