Jump to content

Home

Kill script for KOTOR 1?


Orhek

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...