Getting conversant data during a response
Posted: Mon Nov 30, 2020 10:31 am
Hi, thanks for the great plugin. I am very happy with it!
I am having some trouble with getting the conversant data during a response.
During a conversation I wish to update data each time an NPC talks or when the player is shown the response menu.
when NPC talks I can access subtitle data, during a response menu I can access subtitle data via CurrentConversationState.subtitle, or via responses[].destinationEntry
the currentconversationstate subtitle refers to the previous node, so I think I must use the destinationEntry, how should I obtain data about an actor from conversant ID?
I understand why it works this way, because the character did not speak yet, but I wish to preview data about the NPC before talking to them. Is there a better way I can achieve this?
I am having some trouble with getting the conversant data during a response.
During a conversation I wish to update data each time an NPC talks or when the player is shown the response menu.
when NPC talks I can access subtitle data, during a response menu I can access subtitle data via CurrentConversationState.subtitle, or via responses[].destinationEntry
the currentconversationstate subtitle refers to the previous node, so I think I must use the destinationEntry, how should I obtain data about an actor from conversant ID?
I understand why it works this way, because the character did not speak yet, but I wish to preview data about the NPC before talking to them. Is there a better way I can achieve this?