Jump to content

Home

Fail mission when a NPC dies.


Darth_Kitty

Recommended Posts

straight from the kejim post map

 

rem ( "jan died, so mission failed!" );
wait ( 2000.000 );
set ( /*@SET_TYPES*/ "SET_MISSIONFAILED", /*@MISSIONFAILED*/ "MISSIONFAILED_JAN" );

 

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)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...