Aller au contenu

Photo

Halting conversations


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
Grani

Grani
  • Members
  • 554 messages

There is this conversation my NPC has that end with NPC talking - I want to keep it this way because of scripting reasons. Some time when I tried it the NPC would say his last line in the conversation and the talk would end immediately. However, for some reason it works differently now and the game prompts the player to finish the conversation anyway instead of it finishing automatically.

 

So, what might be the reason for this?

 

And while we're at it, is there some function that could be used to halt the conversation? The only circumstances I know of that cancel it is moving too far from the NPC and engaging in combat. Such a function would come in handy in such a situation as described above and in some others.



#2
Proleric

Proleric
  • Members
  • 2 345 messages
The usual way to terminate a conversation is through the conversation logic itself. Arriving at a node with no true conditions will do it.

if the final valid line is an NPC line, the conversation window should close immediately, the final NPC line being visible only in the log.

I don't know of anything that will suddenly require more input from the player (other than adding a player line to the conversation, obviously).

I'm not aware of a script function that will stop a conversation.

Normally, the escape key, moving away or attacking will fire the abort script.

However, on the final line, if the player only has one option, I find this is buggy.

Also, rest and save game are quirky, in my experience.

In cutscene mode, escape fires cutscene abort but not conversation abort. I've had to resort to deleting the conversing object (often an invisible placeable) in such cases.

I'd be very interested to hear from anyone who has a better understanding.

#3
Shadooow

Shadooow
  • Members
  • 4 465 messages

try start new nonexistant conversation or conversation with no valid node ie only one node which will return false everytime



#4
Grani

Grani
  • Members
  • 554 messages

Thank you, I'll try it and post the results.



#5
Grani

Grani
  • Members
  • 554 messages

Well, it didn't work. I still get an empty conversation line from the NPC and a prompt to end the conversation.

 

1zpisz6.jpg