Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 07:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Python - Metin2 Open a dialog with npc by VID

Discussion on Python - Metin2 Open a dialog with npc by VID within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2020
Posts: 10
Received Thanks: 2
Python - Metin2 Open a dialog with npc by VID

Hello, I would like to start the conversation with NPC whose is next to my by the VID

Currently I have this:
Code:
import player, event, net
vid = player.GetTargetVID()
net.SendOnClickPacket(vid)
event.SelectAnswer(1,0)
event.SelectAnswer(1,0)
But to use this script I have to right-click the npc. How to call its functions via VID?

Thank you for all help!
fijiboomer is offline  
Old 03/25/2020, 18:44   #2
 
elite*gold: 0
Join Date: Sep 2019
Posts: 4
Received Thanks: 1
import player, event, net
vid = 8806 <== NPC VID
net.SendOnClickPacket(vid)
event.SelectAnswer(1,0)
event.SelectAnswer(1,0)
Hector97PL is offline  
Old 03/29/2020, 23:14   #3


 
False's Avatar
 
elite*gold: 0
The Black Market: 243/0/0
Join Date: Apr 2011
Posts: 11,118
Received Thanks: 2,435
Arrow General Coding -> Metin2

#moved
False is offline  
Reply

Tags
metin 2 python


Similar Threads Similar Threads
[NPC]How i can edit text/dialog on NPC
05/03/2017 - Dekaron - 2 Replies
Hello everyone.I want to change this dialog/text.How i can edit ? http://imageshack.us/photo/my-images/20/yd2n.png/
Adding NPC in NPC Dialog
12/17/2013 - CO2 Private Server - 3 Replies
Okay so I'm running 5165 (Conqure SX) I'm new to Conqure and a little rusty in c# I was wondering weather I could charge more cps each time you want a higher level so 15-16 costing 2k cps and 16-17 3k and if so would this be about right #endregion #region Vanish CO leveling NPC case 0001: { if (option == 0) ...
[HELP]Calling an NPC dialog from inside a current NPC [5375]
10/10/2011 - CO2 Private Server - 5 Replies
I have been trying to call another NPCs dialog from within the current NPC. i.e NPC1 case 001: { switch (npcRequest.OptionID) { case 0: {



All times are GMT +2. The time now is 07:25.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.