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?