Jump to content

Recommended Posts

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

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.

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...