Hi.
So, I dont want mods overlapping other mods. In my “More PCs” mod, I would like to disable adding a platform that already exists in the other mods. How do I check if a mod is enabled? Like this?
if(this.OtherMod)
Thanks!
Hi.
So, I dont want mods overlapping other mods. In my “More PCs” mod, I would like to disable adding a platform that already exists in the other mods. How do I check if a mod is enabled? Like this?
if(this.OtherMod)
Thanks!
That can be useful for me as well. Will be Watching the thread to receive notifications.
@Stian It depends. If you know how a mod has been called, then yes. But it could get really tedious if you want to check all modules or exclude all except one, and such things.
I would recommend you to use the following approach:
So, you could check in the currentMods array if there’s a mod with a certain id. If that’s the case, you would alert and/or disable it and tell the user to restart the game or something like that.
Hope that helps.
Thank you! My idea was that if ExpansionPack was enabled (as example) I would disable certain features