Jump to content

Soul Trap like spell help


phoenixcrow

Recommended Posts

Trying to do something like this, obviously not real code.

 

on enemy death
if player is the killer
if player has "item A" in inventory 
if enemy is under effects of spell
if true
delete "item A"
player.additem "item X" based on enemy's keywords
if false
say "You do not have "item A"."

 

First question, is it even possible to do something like this?

Second, How would I do this?

 

I have some coding experience but none in Oblivion or Skyrim, about the only part of the script I know how to do is the first two lines.

 

The mod I'm working on does work without the spell. Right now the items are random drops, but it would be so much better if it had a spell attached to it to make it more controllable.

Thank you in advance.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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