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

From Second Life Wiki
Jump to navigation Jump to search
m
Line 3: Line 3:
{{#vardefine:p_{{{1|none}}}_hover|{{AAn|{{{insert|{{{type|item}}}}}}}} in inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or UUID}}}}
{{#vardefine:p_{{{1|none}}}_hover|{{AAn|{{{insert|{{{type|item}}}}}}}} in inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or UUID}}}}
{{#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}}.|{{#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|
* When a {{HoverLink|UUID|Universally Unique IDentifier}} is used for {{{1}}} there are no asset permissions consequences.
** The resulting object develops no new usage restrictions that might have occured if the asset had been placed in the objects inventory (and subsequently accessed by inventory name).}}|{{#var:caveats}}}}}}
{{{{#if:{{{volume|}}}|LSL Function/volume|!}}|{{{volume|}}}|}}
{{{{#if:{{{volume|}}}|LSL Function/volume|!}}|{{{volume|}}}|}}
}}</includeonly><noinclude>----
}}</includeonly><noinclude>
{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}{{#var:caveats}}</noinclude>
*----
{{#vardefine:caveats}}{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}{{#var:caveats}}
*----
{{#vardefine:caveats}}{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}{{#var:caveats}}
*----
</noinclude>

Revision as of 01:37, 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.
  • When a UUID is used for ta there are no asset permissions consequences.
    • The resulting object develops no new usage restrictions that might have occured if the asset had been placed in the objects inventory (and subsequently accessed by inventory name).
  • ----
  • If ta is missing from the prim's inventory or it is not a sound then an error is shouted on DEBUG_CHANNEL.
  • ----