Skip to content

OnNpcConversationResponded ​

Usage ​

  • No return behavior

Example Autogenerated ​

csharp
private void OnNpcConversationResponded( NPCTalking instance, BasePlayer ply, ConversationData conversation, ConversationData.AbstractSpeechNodeData speechNode, int responseIndex )
{
    Puts( "OnNpcConversationResponded works!" );
}

Location ​

  • NPCTalking::HandleResponse(BasePlayer ply, int speechNodeIndex, int responseIndex, uint previewingMissionId, uint selectedMissionId, NetworkableId selectedAnimalId)
csharp
//---
		{
			return;
		}
	}
	ConversationHost.ShowNextSpeechNode(ply, conversation, resultingNodeGuid);
	Interface.CallHook("OnNpcConversationResponded", this, ply, conversation, speechNode, responseIndex);
}

Released under the MIT License.