dePog Posted December 6, 2015 Share 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? ThanksdePog Link to comment Share on other sites More sharing options...
IsharaMeradin Posted December 6, 2015 Share Posted December 6, 2015 There are two separate forms for soul gems. One for filled (max) and one for empty. The filled ones are the ones you find pre-placed throughout the world. The empty ones are ones that you fill yourself. In the unmoddified game, you would need to check the empty version to see what size soul is inside of it. If you used a mod like Acquisitive Soul Gems instead, all player filled gems would have the max size that they could hold. In which case, it would be easier on you as you can just scan the player for the filled versions and work with them knowing that they will be max filled. Link to comment Share on other sites More sharing options...
Recommended Posts