Skip to content

OnNpcConversationResponded

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnNpcConversationResponded( NPCTalking instance, BasePlayer player, ConversationData conversationFor, ResponseNode responseNode )
{
    Puts( "OnNpcConversationResponded works!" );
}

Location

  • NPCTalking::Server_ResponsePressed(BaseEntity/RPCMessage msg)
csharp
//---
			this.ForceEndConversation(player);
			return;
		}
		this.ForceSpeechNode(player, speechNodeIndex);
	}
	Interface.CallHook("OnNpcConversationResponded", this, player, conversationFor, responseNode);
}

Released under the MIT License.