Jump to content

Fill Soul Gem Command?


septemvii

Recommended Posts

Im working on a mod that needs to fill a soul gem with a grand soul when a script runs, without a soultrap spell or monster. Is there a function thats called something like FillSoulGem(Grand) or something like that?
Link to comment
Share on other sites

I don't know if there is, but I do know that a filled soul gem is an item unto itself. You could check to see if the player has an empty grand soul gem, remove it, and replace it with a filled one, or just give them a full one if you don't care whether they have one.
Link to comment
Share on other sites

Yah I thought about doing that, but I also want to allow the script to fill Azura's star if its the only empty grand gem. What I am trying to do is allow the player to cast a spell that spends some of their spare dragon souls to fill grand soul gems. It should be pretty simple to set up Im just not sure what the functions are to to fill soulgem and reduce dragon soul count.

 

 

Edit: I found a function called TrapSoul(actor) but it needs a target (an actor variable)

 

Edit2: I figured out I can Player.modav dragonsouls -1 to take a dragonsoul, and Player.getavinfo dragonsouls <= 1 for my conditional. But still need a way to call the trap soul script without a target.

Edited by septemvii
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...