It seems as though I can't create a death script that the compiler is willing to accept without any error. I started constructing the script for how I want it and I want he script to execute soon as the p
layer gets to the end of the third dialogue with a dying NPC. After that convo ends, the NPC dies. This is what I came up with code wise.
Also, should I add in a stage variable to support the scripts claim or to allow the script to function properly? I've only gone as far as the quest scripts and some ondeath scripts. Also item exchanges and quest items. This will be my first death script.
Thank you in advance.
Scriptname DanielDeath extends TopicInfo ReferenceAlias Property alias_Daniel Auto function alias_Daniel.IsDead() ;if alias_Daniel is dead bool alias_Danielisdead = alias_Daniel.IsDead() ;endifEndFunction