Difference between revisions of "Manual:DIL Manual/load()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="bfload"></span>
  
 
+
unitptr load ( s : string )
 +
    s : Symbolic name of unit.
 +
    return: A pointer to the unit, or null
 +
    Example: load("garlic@midgaard")
 +
    The loaded unit is automatically placed inside the object
 +
    which loaded it.  Use for example the link command to move
 +
    it into other units.
 
<span id="bfload"></span>
 
<span id="bfload"></span>
  

Latest revision as of 22:30, 4 December 2025

unitptr load ( s : string )
   s : Symbolic name of unit.
   return: A pointer to the unit, or null
   Example: load("garlic@midgaard")
   The loaded unit is automatically placed inside the object
   which loaded it.  Use for example the link command to move
   it into other units.

unitptr load ( s : string )
   s : Symbolic name of unit.
   return: A pointer to the unit, or null
   Example: load("garlic@midgaard")
   The loaded unit is automatically placed inside the object
   which loaded it.  Use for example the link command to move
   it into other units.