Jump to content

Recommended Posts

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

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
×
  • Create New...