Deleted53237921User Posted July 14, 2018 Author Share Posted July 14, 2018 (edited) I see what you are doing. Adjusting the amount given when the player has a specific weapon on their person.Unfortunately for my mod, that would be a conflict in intention even if the two were made to be compatible. As cdcooley stated GetFormFromFile is the function that you will need to obtain the FormID of the weapon in question.Example: Form UC_weap_Miners_Advantage = Game.GetFormFromFile(0x00123456,"SomeMod.esp") if Game.GetPlayer().GetItemCount(UC_weap_Miners_Advantage) > 0 ResourceCount *= 2 else endif Replace "SomeMod.esp" with the plugin where the actual weapon is coming from.Replace the hex number with the FormID number of the weapon in question. Only replace the last 6 digits. The first two are load order and for the purposes of GetFormFromFile they need to remain at 00 as that function looks at entries relative to the passed in plugin. Thank you. Most helpful. Edited July 14, 2018 by Guest Link to comment Share on other sites More sharing options...
Recommended Posts