Guest Posted July 27, 2021 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?
Swe-DivX Posted July 27, 2021 Posted July 27, 2021 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()
VersuchDrei Posted July 27, 2021 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.
Guest Posted July 27, 2021 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.