Usage

Explanation

TServerNPC is the class, derived from TServerPlayer, to which all scripted entities (weapons/GUIs, local NPCs, etc.), within the game belong. This excludes baddies although they are classically considered a type of NPC. It should also be noted that a TServerNPC is created when a script block is added to a GANI.

Example

NPCs can be created via script through the use of the putnpc and putnpc2 functions.