Jump to content

Home

SP NPC scripting


bengar

Recommended Posts

Posted

Hi

 

Does anyone know how to make a "Mission Failed" script when either Jan, Lando or whoever has died? I looked at the example at Kejim and tried giving my NPC (I am using Lando) a NPC_Targetname of "lando" and targeting him to a Target scriptrunner. I basically used the same script that is used for Jan and Lando in JO. I havent gotten it to work. I hope someone knows. Thanks in advance.

 

Bengar :confused:

Posted

Maybe try entering key:deathscript value:nameofscript in the NPC's entity window. Or instead of using a regular target try closetarget. Closetarget, on a NPC, will work to activate something when killed.

Archived

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

×
×
  • Create New...