Kengo Posted June 11, 2002 Share Posted June 11, 2002 Does anyone know how to set an NPC so that their survival is an essential mission objective, ie if they die then the mission is automatically failed? Link to comment Share on other sites More sharing options...
Xcom Posted June 11, 2002 Share Posted June 11, 2002 Create and compile the script: set ( /*@SET_TYPES*/ "SET_MISSIONFAILED", /*@MISSIONFAILED*/ "MISSIONFAILED_LUKE" ); Then give your NPC this: key: deathscript value: path/scriptname (of that script above) Note: this will display "Luke has died. Mission Failed". If you wanna display different text, you must edit sp_ingame.sp file in base/strip. Link to comment Share on other sites More sharing options...
Kengo Posted June 11, 2002 Author Share Posted June 11, 2002 Thanks, I'm right on it Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.