Kengo Posted June 11, 2002 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?
Xcom Posted June 11, 2002 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.