How do I make disease script excecute on the infected, and how do I make an effect which recognizes a target to add a disease?
Another thing is, can I somehow make a spell/perk that excecutes such script every hit?
Oh, and I have a script where one dies, an invunerable NPC appears and revives them. I want to have that same NPC disable when they die next. I have it set uplile
OnDeath()
FirstDeath == 0
If FirstDeath != 2
Revive
FirstDeath = 2
Endif
If FirstDeath == 2
Disable NPC
endif
End
This is pretty undesireable in my eyes, as it would fire both off in a row. Any ideas?