Hostile/Non Hostile Spells

Post » Tue Sep 13, 2011 6:55 pm

How do I make spells non-hostile?
User avatar
sam
 
Posts: 3386
Joined: Sat Jan 27, 2007 2:44 pm

Post » Tue Sep 13, 2011 4:46 pm

How do I make spells non-hostile?

In Morrowind magic effects themselves are marked as either offensive or non-offensive (to my knowledge, this part is hard-coded). When you cast any spell that puts an offensive effect on any actor other than the player, the actor's AI will regard that as being attacked.

For info about which spell effects are considered offensive, check their individual articles on UESP.
User avatar
Jason King
 
Posts: 3382
Joined: Tue Jul 17, 2007 2:05 pm

Post » Wed Sep 14, 2011 1:55 am

Blast. Okay. Thanks
User avatar
Katharine Newton
 
Posts: 3318
Joined: Tue Jun 13, 2006 12:33 pm

Post » Wed Sep 14, 2011 12:37 am

No problem.

The thought just occurred to me that you could use a dummy spell for the player to cast, and then use MWSE to replace that spell on the target actor with another one that has hostile effects.
User avatar
Theodore Walling
 
Posts: 3420
Joined: Sat Jun 02, 2007 12:48 pm


Return to III - Morrowind