Orhek Posted August 10, 2005 Share Posted August 10, 2005 Does anyone know what the script is that kills an npc after you choose a dialogue option and the npc responds? Link to comment Share on other sites More sharing options...
stoffe Posted August 10, 2005 Share Posted August 10, 2005 Does anyone know what the script is that kills an npc after you choose a dialogue option and the npc responds? If you are looking for an existing script I have no idea. But if you just want a script that does it, this should work: void main() { ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDeath(), OBJECT_SELF); } ...if it is attached to the last note in the conversation, and the NPC that should die is the one you speak to. Should be put on node with no text. Link to comment Share on other sites More sharing options...
Orhek Posted August 10, 2005 Author Share Posted August 10, 2005 Yeah, it worked. Thanks for the help! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.