GalloViking Posted October 30, 2016 Share Posted October 30, 2016 Hello, my friends! I need your help for something. I know how to detect when either RoG or SW are enabled but I have no idea what to use when only Vanilla is enabled...Here are my actual functions to detect it (located in the modmain). --Detect RoG local rogEnabled = function() return GLOBAL.IsDLCEnabled(GLOBAL.REIGN_OF_GIANTS) end --Detect SW local swEnabled = function() return GLOBAL.IsDLCEnabled(GLOBAL.CAPY_DLC) end Anybody knows what I could use to detect Vanilla? I've tried everything, in vain. Link to comment https://forums.kleientertainment.com/forums/topic/71285-detect-if-vanilla/ Share on other sites More sharing options...
Mobbstar Posted October 30, 2016 Share Posted October 30, 2016 (edited) @GalloViking How about "not rogEnabled and not swEnabled" ? Edited October 30, 2016 by Mobbstar Link to comment https://forums.kleientertainment.com/forums/topic/71285-detect-if-vanilla/#findComment-831268 Share on other sites More sharing options...
GalloViking Posted October 30, 2016 Author Share Posted October 30, 2016 1 minute ago, Mobbstar said: @GalloViking How about "not rogEnabled and not swEnabled" ? If only it was that easy! Link to comment https://forums.kleientertainment.com/forums/topic/71285-detect-if-vanilla/#findComment-831270 Share on other sites More sharing options...
GalloViking Posted October 31, 2016 Author Share Posted October 31, 2016 Alright, I've played around with the functions and got it to work. Link to comment https://forums.kleientertainment.com/forums/topic/71285-detect-if-vanilla/#findComment-831326 Share on other sites More sharing options...
Mobbstar Posted October 31, 2016 Share Posted October 31, 2016 20 minutes ago, GalloViking said: If only it was that easy! Why doesn't that work? Link to comment https://forums.kleientertainment.com/forums/topic/71285-detect-if-vanilla/#findComment-831429 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now