If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Hello,
I using latest Interlude version, i just want to know, how to get nearest town of NPC?
Thanks
[Interlude] How to get nearest town of NPC?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 89
- Joined: Mon Sep 15, 2008 8:51 am
Re: [Interlude] How to get nearest town of NPC?
TownManager.getInstance().getClosestTown(L2Object activeObject)
Will return a String containing the name of the closest town.
Will return a String containing the name of the closest town.
-
- Posts: 17
- Joined: Mon Jul 06, 2009 12:25 pm
Re: [Interlude] How to get nearest town of NPC?
Thanks, it's returned town ID, what i needed it. 
