Papyrus question with Magic Effects

Post » Tue Feb 12, 2013 12:10 am

So after I got a handle on things, I got a new dilemna.

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?
User avatar
Robert
 
Posts: 3394
Joined: Sun Sep 02, 2007 5:58 am

Return to V - Skyrim