Guest Posted July 27, 2021 Share Posted July 27, 2021 Things like Game.IsPluginInstalled or GetName don't exsist. Yes I extracted the rar source correctly. Yes I am testing with working syntax, even from other mods. And, yes other functions, such as SexLab Util functions work fine... What am I missing? Link to comment
Swe-DivX Posted July 27, 2021 Share Posted July 27, 2021 (edited) https://www.creationkit.com/fallout4/index.php?title=IsPluginInstalled_-_Game https://www.creationkit.com/index.php?title=GetName_-_Form You can use this if MAIN.INTEGRATIONS.GetDDStatus() == "Installed" oidbIntegrationADD = AddToggleOption("Devious Devices", MAIN.INTEGRATIONS.bIntegrationADD) else MAIN.INTEGRATIONS.bIntegrationADD = FALSE endif string function GetDDStatus() int index = Game.GetModByName("Devious Devices - Integration.esm") if index == 255 || index == -1 return "Not Installed" else return "Installed" endif endfunction Actor Property ActorRef auto hidden ActorRef.GetLeveledActorBase().GetName() Edited July 28, 2021 by Swe-DivX Link to comment
VersuchDrei Posted July 27, 2021 Share Posted July 27, 2021 IsPluginInstalled is an SKSE function. You need to run the SKSE installer again after installing the CK because it overwrites the source scripts with the vanilla ones. 1 Link to comment
CPU Posted July 27, 2021 Share Posted July 27, 2021 Just a small advise here. When checking for mods check for 255 and for -1. I had this problem on LE a ton of times and I was never able to fully understand why in some cases I was getting a number and in some cases another number. if index == 255 || index == -1 1 Link to comment
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