» Mon Jun 18, 2012 11:45 am
Kill() is indeed how you kill the actor, you just need to obtain a reference for him in order to make it happen. If this actor is part of a quest, you could set up the NPC as an Alias (under the Quest Aliases tab, and point it to your actor). You would probably type something along the lines of (ActorAliasName as Actor).Kill()
Assuming that your actor is already placed within the world and has a reference (Via double clicking on him) you simply need to setup a property in your script and associate it with your actor. Then run PropertyNameForActor.Kill(). Or you may need to type (PropertyNameForActor as Actor).Kill()
If that doesn't really help you can view my thread where I went through the process of creating an NPC and killing him here: http://www.gamesas.com/topic/1345563-creating-a-fake-corpse-of-an-actor-specifically-the-player
Hope it helps!