agerweb Posted August 29, 2015 Share Posted August 29, 2015 I want to only run a script in one plugin if a another plugin is loaded, can this be done? Link to comment Share on other sites More sharing options...
Surilindur Posted August 29, 2015 Share Posted August 29, 2015 Yes, with the GetModByName function. It requires SKSE, though. There is an example on the CK Wiki page, too. The 'only once' part could probably be achieved by either a variable or states to make sure it only runs once. Hopefully that helps a little. Link to comment Share on other sites More sharing options...
agerweb Posted August 29, 2015 Author Share Posted August 29, 2015 Yes that would do it, thank you Link to comment Share on other sites More sharing options...
Surilindur Posted August 29, 2015 Share Posted August 29, 2015 (edited) No problem. There is the self-explanatory IsModLoaded function for Oblivion with OBSE that just checks if the plugin is loaded, but that Skyrim one might be trickier to find because of the less self-explanatory naming. Took me quite the while to find it, too. :) Edited August 29, 2015 by PhilippePetain Link to comment Share on other sites More sharing options...
Recommended Posts