Difference between revisions of "Template:LSL Function/give"
Jump to navigation
Jump to search
m |
(apparently we needed a caveat about script states *rolls eyes*) |
||
Line 14: | Line 14: | ||
* If '''{{LSL Param|{{{2}}}}}''' {{#if:{{{full|}}}|is not {{HoverLink|:Category:LSL_Permissions/Asset|copy, mod and transfer|full permissions}}|cannot be copied}} then an error is shouted on {{#var:DEBUG_CHANNEL}}.{{#switch:{{#var:target-type}} | * If '''{{LSL Param|{{{2}}}}}''' {{#if:{{{full|}}}|is not {{HoverLink|:Category:LSL_Permissions/Asset|copy, mod and transfer|full permissions}}|cannot be copied}} then an error is shouted on {{#var:DEBUG_CHANNEL}}.{{#switch:{{#var:target-type}} | ||
|~1=|* If '''{{LSL Param|{{{1}}}}}''' {{#ifeq:{{#var:target-type}}|~2||is a prim that}} is not in the same region an error is shouted on {{#var:DEBUG_CHANNEL}}.}}}} | |~1=|* If '''{{LSL Param|{{{1}}}}}''' {{#ifeq:{{#var:target-type}}|~2||is a prim that}} is not in the same region an error is shouted on {{#var:DEBUG_CHANNEL}}.}}}} | ||
{{#switch:{{{type|}}}|script|=* When scripts are copied or moved between inventories, their state does not survive the transfer. Memory, event queue and execution position are all discarded.|#default=}} | |||
{{#var:caveats}}}} | {{#var:caveats}}}} | ||
Line 57: | Line 58: | ||
{| {{Prettytable}} {{#vardefine:caveats}} | {| {{Prettytable}} {{#vardefine:caveats}} | ||
|+<code><nowiki>{{</nowiki>{{FULLPAGENAMEE}}<nowiki>|target|item|type= | |+<code><nowiki>{{</nowiki>{{FULLPAGENAMEE}}<nowiki>|target|item|type=script|uuid=true|link=*}}</nowiki></code>{{{{FULLPAGENAMEE}}|target|item|type=sound|uuid=true|link=*}} | ||
|-{{Hl2}} | |-{{Hl2}} | ||
! #var | ! #var |
Revision as of 18:23, 18 December 2009
Press this link after making a change, so it becomes displayed.
#var | value |
---|---|
caveats |
|
p_target_desc | group, avatar or prim UUID |
p_target_hover | group, avatar or prim UUID |
p_item_desc | a sound in the inventory of the prim this script is in or a UUID of a sound |
p_item_hover | a sound in the inventory of the prim this script is in or a UUID of a sound |
#var | value |
---|---|
caveats |
|
p_target_desc | group, avatar or prim UUID |
p_target_hover | group, avatar or prim UUID |
p_item_desc | a sound in the inventory of the prim this script is ina sound in the inventory of the prim this script is in or a UUID of a sound |
p_item_hover | a sound in the inventory of the prim this script is ina sound in the inventory of the prim this script is in or a UUID of a sound |
#var | value |
---|---|
caveats |
|
p_target_desc | Link number (0: unlinked, 1: root prim, >1: child prims and seated avatars) or a LINK_* flag
|
p_target_hover | Link number (0: unlinked, 1: root prim, >1: child prims and seated avatars) or a LINK_* flag |
p_item_desc | a sound in the inventory of the prim this script is in or a UUID of a sounda sound in the inventory of the prim this script is ina sound in the inventory of the prim this script is in or a UUID of a sound |
p_item_hover | a sound in the inventory of the prim this script is in or a UUID of a sounda sound in the inventory of the prim this script is ina sound in the inventory of the prim this script is in or a UUID of a sound |