Jump to content

Help needed with custom spell


TheTrueMayhem

Recommended Posts

I've made a custom summon spell for one of my NPC's and I can't get it to appear in the game , let alone test to see if it works or not.

I tried making it a lesser power and then a spell hoping it would appear in my spell list when loading up a game but that would have been too easy :-)

In the TES Construction set I dragged the spell from the spell list to Edgar's inventory so I could purchase it from him but that doesn't work.

I then got it's form ID from the Construction set and tried to add it with the console. I typed out Player.Addspell 0200D7EA and it comes up with item '0200D7EA' not found for parameter spell item.

The spell has a spell effect script which I saved as part of the active plugin i've been working with and that plugin is loaded in the game.

I'm either doing something really stupid or something REALLY stupid :-(

Link to comment
Share on other sites

Lets say your spell is called aaaDeathSpell

you need to make a quest ( give it a priority of about 75 ) and attach a script to that quest

this is the script ( the default is object, change this to quest in the script type box )

 

scn aaaAddSpell

 

short once

 

begin gamemode

 

if once == 0

player.addspell aaaDeathSpell

set once to 1

endif

 

end

 

 

This will put your spell into your chars spell list. And thats it :smile:

Link to comment
Share on other sites

  • Recently Browsing   0 members

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