Jump to content
Logo
Your Metin2 zone for C++, Python, Lua.

[RELEASE] Get Npc Location By Vnum


GameCore

Recommended Posts

Hi, I would like to share with you the code that returns the location of a given Vnum-NPC on the map.

I needed a function to determine the correct location for a movement, when I gave the cords from the regen the location was not the expected result I wanted.
This code solves the problem, maybe there is another solution but this is mine and it works has been tested

Bez tytułu.webp

Improved GetNpcLocationsByVnum

*this code will show you all NPC positions on the map with the same Vnum
 

Code:

This is the hidden content, please
This is the hidden content, please

 

  • Like 1
Link to comment
  • 2 weeks later...
  • 3 weeks later...
  • 5 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Style Version: 0.1

The code was completely created from scratch and optimized.

The basic style on which it was created: Default

Created by: Grzyb.ovh

The style was to be simple to browse topics, devoid of graphics, uniform in color and definitely simple. ×

×
×
  • Create New...

Important Information

Do you like cookies? 🍪 We use cookies to provide the highest quality of service. Learn more