Slyvena1 Posted December 24, 2008 Posted December 24, 2008 Hey can someone post a simple result script which kills and sets an NPC on fire, I've already set up the dialogue I just need the script. If the fire part is too much, can someone at least upload a kill script. It should kill the NPC you are speaking too.
DDigit Posted December 24, 2008 Posted December 24, 2008 What, there's no option for spontaneous combustion? preposterous!
Skree000 Posted December 25, 2008 Posted December 25, 2008 you might want to check how Beth did it in that place where you are a kid and you try to fight the girl she says 'you cant do that here' and sets you on fire and you die... might be a good place to look. see how they did it
Slyvena1 Posted January 6, 2009 Author Posted January 6, 2009 That won't help because its easy to reference the player character, I need a way to identify an actor and kill them based only on the information that you are engaged in dialogue with them.
307Flinn Posted January 6, 2009 Posted January 6, 2009 Just off the top of my head (so I promise nothing)... There was a weird way to kill people in Oblivion (a very similar scripting environment) instantly. I used the code in one of my mods to create a demigod-weapon. I'll look it up... if this doesn't work for ya: If the PC is the only actor that the NPC will talk to (ever) then set a variable to true based on the "isTalking" function. After that variable has switched to true from false, wait until it flips false again (the dialogue has ended). At that point, light it up!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.