Add an effect to an NPC

Post » Wed Feb 12, 2014 6:45 am

How do I cast or give a disease to an NPC from a script. It is just given to him without anyone to give it too him. So when a certain event occurs he suddenly falls ill and starts glowing.

User avatar
Lauren Dale
 
Posts: 3491
Joined: Tue Jul 04, 2006 8:57 am

Post » Wed Feb 12, 2014 9:04 am

Diseases are spell type objects, and all of them are added to actors through actorRef.AddSpell spellID
User avatar
Bloomer
 
Posts: 3435
Joined: Sun May 27, 2007 9:23 pm


Return to IV - Oblivion