MasterAub Posted November 21, 2023 Share Posted November 21, 2023 Hi everyone I would like to built a machine that change empty soulgems to filled soulgems. The idea is as follow: The player will cast a spell at a given container where you have placed an empty soulgem beforehand . Upon casting on to the container the player will retrieve an identical soulgem but filled with the corresponding soul. Can someone help on this concept? Thanks for your help Link to comment Share on other sites More sharing options...
MasterAub Posted November 21, 2023 Author Share Posted November 21, 2023 So I guess it will logically work like this: The script will be placed on the container On Spell Hit (custom spell that do nothing) if empty soulgem in the container Replace empty soulgem by the coresponding filled soulgem play sound elseif do nothing End of script how can I go about doing it? Link to comment Share on other sites More sharing options...
dylbill Posted November 23, 2023 Share Posted November 23, 2023 I made a mod that does something similar called Charge or Fill - Spells: https://www.nexusmods.com/skyrimspecialedition/mods/18090 Source code is included if you want to take a look. Link to comment Share on other sites More sharing options...
MasterAub Posted November 24, 2023 Author Share Posted November 24, 2023 (edited) Thank you mate I am looking at your mod right now...Will let you know. Thanks again. Edit 1 Ok I have 2 questions (if I may) : Why can't I open your script in the creation kit? The CK does not allow me to "edit source" the "ChargeGrandScript" or any other of your script for that matter. If I want to have a look at your script directly from the script folder and open it with Notepad or Notepad++ I get unreadable gibberish stuff why is that ? Sorry I haven't even start to try to understand your script and I am already stucked. Edited November 24, 2023 by MasterAub Link to comment Share on other sites More sharing options...
dylbill Posted November 24, 2023 Share Posted November 24, 2023 If you want to look at the script with notepad you need to open the source .psc files, not the .pex files. To view in the creation kit, copy the source .psc files from Data/Scripts/Source to Data/Source/Scripts. In Skyrim LE they were in Data/Scripts/Source but they switched it to Data/Source/Scripts in Skyrim SE Link to comment Share on other sites More sharing options...
MasterAub Posted November 26, 2023 Author Share Posted November 26, 2023 Thanks I managed to have a look at it. I'll propose a script monday or tuesday. Busy helping my son on his Philosophy Explanation Text... Link to comment Share on other sites More sharing options...
Recommended Posts