Creation/Dev/Database NPC: Difference between revisions

From Graal Bible
No edit summary
m (Reverted edit of 69.209.104.130, changed back to last version by 217.224.55.203)
Line 1: Line 1:
pwnzor'd
<b>Database NPCs</b> are [[NPC]]s stored in an [[NPC Server]]. They are given a user-defined NPC name ([[Old GScript:Message Codes|#N]]) and can warp to anywhere on a server.
 
[[NPC Control|NC]] contains a section for administering Database NPCs, including editing the script, this. flags, viewing [[Old GScript:Variable|Variable]]s and resetting them. This allows an Admin to change things about the [[NPC]] which cannot be done in-game without another NPC.
 
Database NPCs are usually [[Serverside]] to be able to function simultaneously with multiple players, warp, use [[Old GScript:with|with]], etc, so they can work with players and other database NPCs in a collaborative way. Your Database NPC may be used as a [[Guild]] Manager, so it needs to interact with the player and server.
 
Database NPCs can use [[Old GScript:canwarp|canwarp]]/[[Old GScript:canwarp2|canwarp2]] to warp with [[Level]] warp [[Link]]s, and level boundaries on normal [[Map]]s.
They are also given [[GMap]] coordinates when on a GMap (i.e. 120,110 would be 60,50 in level b2).

Revision as of 18:29, 19 June 2005

Database NPCs are NPCs stored in an NPC Server. They are given a user-defined NPC name (#N) and can warp to anywhere on a server.

NC contains a section for administering Database NPCs, including editing the script, this. flags, viewing Variables and resetting them. This allows an Admin to change things about the NPC which cannot be done in-game without another NPC.

Database NPCs are usually Serverside to be able to function simultaneously with multiple players, warp, use with, etc, so they can work with players and other database NPCs in a collaborative way. Your Database NPC may be used as a Guild Manager, so it needs to interact with the player and server.

Database NPCs can use canwarp/canwarp2 to warp with Level warp Links, and level boundaries on normal Maps. They are also given GMap coordinates when on a GMap (i.e. 120,110 would be 60,50 in level b2).