dePog Posted December 6, 2015 Posted December 6, 2015 Hi Guys, I am trying to create an AOE blast that is powered by a Soul Gem. The trouble is that ' getSoulSize' is supposed to check what size soul is in the soul gem and ' getGemSize' is supposed to check what size the gem is. But after running the script below it returns the value of '5' for both the Gem and the soul whether the gem has a soul in it, or not. SoulGem Property BlackSoulGem AutoEvent OnEffectStart(Actor akTarget, Actor akCaster) if (Game.GetPlayer().getItemCount(BlackSoulGem) >= 1) Int SoulSize = BlackSoulGem.getSoulSize() Int GemSize = BlackSoulGem.getGemSize() debug.notification("Soul size is " +SoulSize +"Gem size is " +GemSize) Does anybody know how to check if a Soul Gem is full or empty? Thanks dePog
cecik Posted December 6, 2015 Posted December 6, 2015 Filled soulgems have a different Form/Editor-id (Blacksoulgem vs. BlacksoulgemFilled)
dePog Posted December 6, 2015 Author Posted December 6, 2015 Filled soulgems have a different Form/Editor-id (Blacksoulgem vs. BlacksoulgemFilled) Thanks cecik, I should have been a bit more specific. I will also be using other soul gems (not just black) and they could be filled with the wrong soul eg. petty soul in a greater soul gem. I want to be sure that the soul gem has the exact soul in it that it is rated for. eg. greater soul inside a greater soul gem Any further thoughts on how I would test for that?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.