View Full Version : Fail mission when a NPC dies.

07-20-2002, 02:53 AM
How do I make it so that it fail's the mission when a NPC dies?

07-20-2002, 03:16 PM
straight from the kejim post map

rem ( "jan died, so mission failed!" );
wait ( 2000.000 );

just set it so when the npc dies it targets a scriptrunner which runs this script;

then to change what is displayed, open the sp_ingame.sp file in the strip/ directory and find the reference tag MISSIONFAILED_JAN, and change the strings in it

(i dont believe you can rename the reference tags cuz i think they are defined in the SP code)