Difference between revisions of "Template:LSL Function/inventory"

From Second Life Wiki
Jump to navigation Jump to search
(Uniform wording.)
Line 4: Line 4:
{{#vardefine:caveats|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats}}
{{#vardefine:caveats|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats}}
* If '''{{LSL Param|{{{1}}}}}''' is missing from the prim's inventory {{#if:{{{full|}}}|or not {{HoverLink|:Category:LSL_Permissions/Asset|copy, mod and transfer|full permissions}}}} {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|and it is not a {{HoverLink|UUID|Universally Unique IDentifier}}}} {{#if:{{{type|}}}|or it is not {{AAn|{{{type|item}}}}}}} then an error is shouted on {{LSL Const|DEBUG_CHANNEL|integer|hex=0x7FFFFFFF}}. {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|
* If '''{{LSL Param|{{{1}}}}}''' is missing from the prim's inventory {{#if:{{{full|}}}|or not {{HoverLink|:Category:LSL_Permissions/Asset|copy, mod and transfer|full permissions}}}} {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|and it is not a {{HoverLink|UUID|Universally Unique IDentifier}}}} {{#if:{{{type|}}}|or it is not {{AAn|{{{type|item}}}}}}} then an error is shouted on {{LSL Const|DEBUG_CHANNEL|integer|hex=0x7FFFFFFF}}. {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|
* When a {{HoverLink|UUID|Universally Unique IDentifier}} is used for {{{1}}} there are no asset permissions consequences.
* If '''{{LSL Param|{{{1}}}}}''' is a {{HoverLink|UUID|Universally Unique IDentifier}} (an not an inventory item) then there are no [[:Category:LSL_Permissions/Asset|asset permissions]] consequences for the object.
** The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the objects inventory (and subsequently accessed by inventory name).}}|{{#var:caveats}}}}}}
** The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.}}|{{#var:caveats}}}}}}
{{{{#if:{{{volume|}}}|LSL Function/volume|!}}|{{{volume|}}}|}}
{{{{#if:{{{volume|}}}|LSL Function/volume|!}}|{{{volume|}}}|}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Revision as of 01:47, 20 April 2008

  • ----
  • If ta is missing from the prim's inventory and it is not a UUID or it is not a sound then an error is shouted on DEBUG_CHANNEL.
  • If ta is a UUID (an not an inventory item) then there are no asset permissions consequences for the object.
    • The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.
  • ----
  • If ta is missing from the prim's inventory or it is not a sound then an error is shouted on DEBUG_CHANNEL.
  • ----