OsGetInventoryDesc: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>GuduleLapointe Created page with "{{osslfunc |threat_level=None |function_syntax=string osGetInventoryDesc(string name) |ossl_example=<source lang="lsl"> default { state_entry() { string name= llGetI..." |
imported>Kcozens m Added permissions and delay information |
||
| Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
|threat_level= | |threat_level=ignored | ||
|permissions=true | |||
|delay=0 | |||
|function_syntax=string osGetInventoryDesc(string name) | |function_syntax=string osGetInventoryDesc(string name) | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
Revision as of 19:19, 25 October 2017
string osGetInventoryDesc(string name)
| |
| Returns a string that is the description of inventory item "name"
Note: Implemented March, 17 2012 in GIT# 4a57112f19c0e4eb3545fdc0cbbbd68ce46c6eaa | |
| Threat Level | This function does not do a threat level check |
| Permissions | Use of this function is always allowed by default |
| Extra Delay | 0 seconds |
| Example(s) | |
default
{
state_entry()
{
string name= llGetInventoryName( INVENTORY_LANDMARK, 0 );
string decription = osGetInventoryDesc(name)
}
}
| |