Creation/Dev/Database NPC: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Database NPCs are | <b>Database NPCs</b> are [[NPC]]s stored in an [[NPC-Server]]. They are given a user-defined NPC name (#N) and can warp to anywhere on a server. | ||
NC/NPC-Control contains a section for administering Database NPCs, including editing the script, this. flags, viewing variables and resetting them. | NC/[[NPC-Control]] 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 should be serverside to be able to function with simultaneous players, warp, use with(), etc. | Database NPCs should be [[serverside]] to be able to function with simultaneous 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. | Database NPCs can use [[Old Gscript: canwarp]]/[[Old Gscript: canwarp2]] to warp with level warp links, and level boundaries on normal maps. | ||
They are also given a GMAP X/Y when on a GMAP (i.e. 120,110 would be 60,50 in level b2). | They are also given a GMAP X/Y when on a [[GMAP]] (i.e. 120,110 would be 60,50 in level b2). |
Revision as of 17:18, 7 October 2004
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/NPC-Control 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 should be serverside to be able to function with simultaneous 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 Old Gscript: canwarp/Old Gscript: canwarp2 to warp with level warp links, and level boundaries on normal maps. They are also given a GMAP X/Y when on a GMAP (i.e. 120,110 would be 60,50 in level b2).