Difference between revisions of "Manual:DIL Manual/UNIT ST NPC"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="unpc"></span>
 +
'''if the type is UNIT_ST_NPC '''
  
 
+
      'defaultpos'  :integer (RW)
 +
          The default position of an NPC, see POSITION_* in values.h and/or vme.h
 +
  'natural_armour'  :integer (RW)
 +
    The natural armour of the NPC when naked.
 +
      'npcflags'    :integer (RW)
 +
          Some small options for NPC's see NPC_* in values.h and/or vme.h
 +
      'switched'  :unitptr (RW)
 +
      Character that is switched into this NPC.
 
<span id="unpc"></span>
 
<span id="unpc"></span>
 
  '''if the type is UNIT_ST_NPC '''
 
  '''if the type is UNIT_ST_NPC '''

Latest revision as of 22:37, 4 December 2025

if the type is UNIT_ST_NPC 
      'defaultpos'   :integer (RW)
         The default position of an NPC, see POSITION_* in values.h and/or vme.h
	  'natural_armour'   :integer (RW)
	     The natural armour of the NPC when naked.
      'npcflags'     :integer (RW)
         Some small options for NPC's see NPC_* in values.h and/or vme.h
		       'switched'   :unitptr (RW)
			      Character that is switched into this NPC.

if the type is UNIT_ST_NPC 
      'defaultpos'   :integer (RW)
         The default position of an NPC, see POSITION_* in values.h and/or vme.h
	  'natural_armour'   :integer (RW)
	     The natural armour of the NPC when naked.
      'npcflags'     :integer (RW)
         Some small options for NPC's see NPC_* in values.h and/or vme.h
		       'switched'   :unitptr (RW)
			      Character that is switched into this NPC.