Difference between revisions of "PRIM TYPE"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 21: Line 21:
}}</onlyinclude>{{#if:
}}</onlyinclude>{{#if:


{{#vardefine:PT-D|~{{#if:{{{1|}}}|{{{1|}}}|set}}~}}
{{:PRIM_TYPE_SCULPT}}
 
{{:PRIM_TYPE_SCULPT|{{#if:{{{1|}}}|{{{1|}}}|set}}}}


}}{{LSL Constant
}}{{LSL Constant

Revision as of 14:26, 11 October 2008

Description

Constant: integer PRIM_TYPE = 9;

The integer constant PRIM_TYPE has the value 9

Sets the type of the prim

Caveats

  • The value of map is NULL_KEY when the owner does not have full permissions to the object and the map asset is not in the prim's inventory.
  • If map is missing from the prim's inventory and it is not a UUID or it is not a texture then an error is shouted on DEBUG_CHANNEL.
  • If map is a UUID then there are no new 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.
All Issues ~ Search JIRA for related Bugs

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_TYPE = 9;