Jump to content

Result Script


Slyvena1

Recommended Posts

Posted

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.

Posted

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

  • 2 weeks later...
Posted
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.
Posted

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!

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...