Canderis Posted August 22, 2009 Share Posted August 22, 2009 I need a script (or modified version of this: //:: k_def_death01 /* Default On Death Script */ //:: Created By: Preston Watamaniuk //:: Copyright (c) 2002 Bioware Corp. #include "k_inc_switch" #include "k_inc_debug" void main() { ExecuteScript("k_ai_master", OBJECT_SELF, KOTOR_DEFAULT_EVENT_ON_DEATH); /* if(!GN_GetSpawnInCondition(SW_FLAG_AI_OFF)) { SpeakString("GEN_I_AM_DEAD", TALKVOLUME_SILENT_TALK); //Shout Attack my target, only works with the On Spawn In setup SpeakString("GEN_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK); } if(GN_GetSpawnInCondition(SW_FLAG_EVENT_ON_DEATH)) { SignalEvent(OBJECT_SELF, EventUserDefined(1007)); } */ CreateObject(OBJECT_TYPE_CREATURE, "cand_sith02", Location(Vector(2.83,-123.21,28.60), 3.14)); } to make the NPC disappear when they die. Link to comment Share on other sites More sharing options...
Te Je'karta Mand'alor Posted August 22, 2009 Share Posted August 22, 2009 you need the NPCs to dissapere when they die for a mod?... Link to comment Share on other sites More sharing options...
Canderis Posted August 22, 2009 Author Share Posted August 22, 2009 Yes... Link to comment Share on other sites More sharing options...
Te Je'karta Mand'alor Posted August 22, 2009 Share Posted August 22, 2009 ok... i'll never understand modding... *scratches head and his ears blow up* Link to comment Share on other sites More sharing options...
Exile007 Posted August 22, 2009 Share Posted August 22, 2009 ok... i'll never understand modding... *scratches head and his ears blow up* For all you know, Canderis could be making a mod with a Sith Spirit similar to Ajunta Pall and it would be rather neat for the Sith to disappear when the player kills it. @Canderis-Add something like "DestroyObject(OBJECT_SELF);" to your script at the end. Link to comment Share on other sites More sharing options...
Canderis Posted August 22, 2009 Author Share Posted August 22, 2009 For all you know, Canderis could be making a mod with a Sith Spirit similar to Ajunta Pall and it would be rather neat for the Sith to disappear when the player kills it. @Canderis-Add something like "DestroyObject(OBJECT_SELF);" to your script at the end. Man, are you psycho, I mean psychic? You nailed part of my mod head on Thanks for the script, trying it now. Link to comment Share on other sites More sharing options...
none223 Posted August 22, 2009 Share Posted August 22, 2009 What mod is this? It doesn't seem like any I'm thinking of that you are working on... Link to comment Share on other sites More sharing options...
Canderis Posted August 22, 2009 Author Share Posted August 22, 2009 It is one that nobody knows about. Only my friends who work for Team Hssiss know about it. No it is not a Mandalorian mod. You shall find out VERY soon though as it is almost done. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.