parent()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/parent() · 458 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& parent()
 
  Syntax: parent(<obj>)
 
  Returns the parent of <obj>. Returns #-1 if <obj> cannot be found or 
  if you do not own <obj> and it is not set VISUAL.
 
  Example:
 
  > say parent(me)
  You say "#-1"
  > say My va is [v(va)].
  You say "My va is "
  > @parent me=test
  Parent set.
  > say parent(me)
  You say "#323"
  > say My va is [v(va)].
  You say "My va is Testing 123"
 
	See Also: children(), @parent, PARENT OBJECTS

Site Stats

Snippets: 1791
Codebases: 571