Please help me with script for a ghost

Post » Fri Jul 11, 2014 2:02 pm

Hi!

I'm making a ghost. It is set up as NPC. I need a script which does 2 things: 1) as soon as the NPC is killed, the body disappears; 2) it should be impossible to click on the NPC and to initiate dialog.

I've never written scripts for MW so I require some help.

Is it ok to use these lines for deleting the body after NPC's death:

or just

is enough?

And how can I make NPC impossible to interact with?
User avatar
Izzy Coleman
 
Posts: 3336
Joined: Tue Jun 20, 2006 3:34 am

Return to III - Morrowind