@parent: Difference between revisions
Jump to navigation
Jump to search
(server diffs) |
(No difference)
|
Latest revision as of 02:23, 11 December 2005
COMMAND: @parent <object> [=<parent>]
This command sets the parent of <object> to <parent> (or clears the parent if <parent> is omitted. You must control <object>, and must own <parent>.
Related Topics Parent Objects, Inheritance, Ancestors, parent(), children()
Server differences
In PennMUSH, you need not own <parent>, but you must either control <parent> or <parent> must have the LINK_OK flag and you must pass its @lock/parent if one is set. PennMUSH prevents inheritance loops (you can't make an object its own parent, grandparent, etc.)