в папке gameserver\data\scripts\ai лежат аи нпк. например открой файл
Kreed.java, Kreed - это ходящий нпк
всё очень просто:
PHP код:
public Kreed(L2Character actor)
{
super(actor);
points[0] = new Location(23436, 11164, -3728);
points[1] = new Location(20256, 11104, -3728);
points[2] = new Location(17330, 13579, -3720);
points[3] = new Location(17415, 13044, -3736);
points[4] = new Location(20153, 12880, -3728);
points[5] = new Location(21621, 13349, -3648);
points[6] = new Location(20686, 10432, -3720);
points[7] = new Location(22426, 10260, -3648);
points[8] = new Location(23436, 11164, -3728);
}
points это координаты точек, куда следует нпк. Ну вот этот скрипт можно сделать "под себя"