If my spell hits any npc that is a playable race, and my spell is the damage source that kills that npc, then that npc is turned into a dead skeleton.
To make my spell viable, I'll have to somehow transfer the contents of the NPC, before it is disabled, to the newly created skeleton in its place.
The problem is, skyrim scripting makes absolutely no sense to me.
I remember in oblivion you declared references at the top of your script to store those variables
How does it work in skyrim?
Scriptname LichdomDecaySpellScript extends activemagiceffectSpell property LichdomDecaySpell autoObjectReference TargetRef = TargetRef.GetReference
This is what I have so far...a miserable start, I know - it doesn't even compile and I'm not even sure what I'm doing after watching a few tutorials.
I would be very greatful to anyone who would take the time to explain this process as thoroughly as they can. Once I understand it, I'll be better equipped to reproduce the effects in future instances of scripting.
Thank you all in advance