MidrealmDM Posted February 1, 2016 Share Posted February 1, 2016 When modding, if I need to check if RoG is enable I include this line: If GLOBAL.IsDLCEnabled(GLOBAL.REIGN_OF_GIANTS) then .... If I want something to work in DST only If GLOBAL.TheSim:GetGameID()=="DST" then ... what should I use if I wanted a mod aspect to only function in Shipwrecked? I tried "If GLOBAL.IsDLCEnabled(GLOBAL.SHIPWRECKED)" and it did not work. Thank you, in advance. Link to comment https://forums.kleientertainment.com/forums/topic/63589-mod-changes-for-sw-only/ Share on other sites More sharing options...
Kzisor Posted February 1, 2016 Share Posted February 1, 2016 43 minutes ago, MidrealmDM said: When modding, if I need to check if RoG is enable I include this line: If GLOBAL.IsDLCEnabled(GLOBAL.REIGN_OF_GIANTS) then .... If I want something to work in DST only If GLOBAL.TheSim:GetGameID()=="DST" then ... what should I use if I wanted a mod aspect to only function in Shipwrecked? I tried "If GLOBAL.IsDLCEnabled(GLOBAL.SHIPWRECKED)" and it did not work. Thank you, in advance. GLOBAL.CAPY_DLC is what it's suppose to be. Link to comment https://forums.kleientertainment.com/forums/topic/63589-mod-changes-for-sw-only/#findComment-715950 Share on other sites More sharing options...
Arkathorn Posted February 1, 2016 Share Posted February 1, 2016 6 hours ago, Kzisor said: GLOBAL.CAPY_DLC is what it's suppose to be. You can check this at 'dlcsupport.lua' in the base game. Link to comment https://forums.kleientertainment.com/forums/topic/63589-mod-changes-for-sw-only/#findComment-716036 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