shatsnazzle Posted March 6, 2018 Share Posted March 6, 2018 I have 2 mods, Mod A and Mod B. Mod A has a gun. Is it possible to link to that gun with a property from a script in Mod B? I tried this with and without Mod A listed as a dependency for Mod B and the script did not work either time. With the script self contained in Mod A it works fine. Is this just not possible to do or am I just messing up a step? I couldn't find anything on this specific matter on Google or the wiki Thank you for your help! Link to comment Share on other sites More sharing options...
SKKmods Posted March 6, 2018 Share Posted March 6, 2018 Sure this is possible without creating a master dependency using getformfromfile(). What type of property ? ... a selection of 'em: If Game.IsPluginInstalled("SKKCombatTestTools.esp") ObjectMod rSKK_CTTargetInfo_modLegendary = Game.GetFormFromFile(0x00001739, "SKKCombatTestTools.esp") as ObjectMod pSKK_10mmModList.AddForm(rSKK_CTTargetInfo_modLegendary) GlobalVariable rCTuGridsLoaded = Game.GetFormFromFile(0x00004C77, "SKKCombatTestTools.esp") as GlobalVariable fuGiridsToLoad = rCTuGridsLoaded.GetValue() Quest FormFromOtherMod = Game.GetFormFromFile(0x00000F99, "SKKCombatTestTools.esp") as Quest ScriptObject RemoteScript = FormFromOtherMod.CastAs("SKK_CTMainScript") Var rSKK_CTTestObjectREF = RemoteScript.GetPropertyValue("pTestObjectREF") EndIf Link to comment Share on other sites More sharing options...
shatsnazzle Posted March 6, 2018 Author Share Posted March 6, 2018 Thank you for the help SKK50!! Link to comment Share on other sites More sharing options...
Recommended Posts