Author Topic: Continuing a conversation after killing off a participant of the discussion?  (Read 516 times)

Legacy_Mrhandy12

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0


               Im creating a module at the moment, slowly learning to familiarize myself with the toolset. At the moment Im having problems with a particular conversation, where some ncp gang up on a particular ncp and kill her (using a death script). However, a few seconds after that particular ncp is killed the conversation crashes, even after I changed the "conversation owner" to another ncp, the same thing still happens. Any suggestions on how I could prevent it? Im not using a cutscene btw since Im not that familiar with how they work.
               
               

               
            

Legacy_Fester Pot

  • Hero Member
  • *****
  • Posts: 1698
  • Karma: +0/-0


               If the owner of the conversation is the particular NPC that is killed, you need to start a new conversation either with the remaining NPCs that killed her, or, with a placeable object near the PC.

Although you start the conversation with the NPC, when they kill her, there's no way to continue the conversation when you're still using the conversation from the now dead NPC.

Another way is to initiate the conversation with a placeable near this NPC that is about to get killed. In this conversation, you change [OWNER] to the [TAG OF THE NPC]. It makes it look like the player is having a conversation with the [TAG OF THE NPC] because their portrait appears.

For a fail safe, you can also just create invisible placeables with a unique TAG that use the same portrait as the NPCs in the conversation.  Said placeables need to be within 8.0 radius of the player who initiates the conversation. This way you can kill all of them inside of the conversation, because it's a conversation you're having with a placeable that use a portrait of the NPCs, not the NPCs themselves.

FP!
               
               

               


                     Modifié par Fester Pot, 26 août 2012 - 01:02 .
                     
                  


            

Legacy_Mrhandy12

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0


               Good idea Fester Pot. Im going to have a look at your suggestions and try them out.