View Single Post
  #15  
Old 06-25-2006, 11:57 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
warpto(level, x, y), same format as player.setlevel2

About npcs on a gmap:
1. There are local npcs, which are added with the level editor, directly in the .nw or .graal file. They can move freely on the whole gmap. It is recommended to do that on serverside though. Use move() for smooth movement.
2. The other npcs are called 'database npcs' - the npcs you see in the RC npcs list, the putnpc2s, and the items (gralats) although those are not often used anymore. They can freely move everywhere, and 'warpto' other levels. You can remove them with /clearnpcs levelname (only the npcs listed in the RC npcs list are protected), and watch their files in the "npcs/" folder.
Reply With Quote