OsGetInventoryDesc
From OpenSimulator
(Difference between revisions)
m (Added note stating which version of OpenSim introduced this function) |
(Add ; to remove compile error) |
||
Line 5: | Line 5: | ||
|function_syntax=string osGetInventoryDesc(string name) | |function_syntax=string osGetInventoryDesc(string name) | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
− | + | default | |
− | + | { | |
− | + | state_entry() | |
− | + | { | |
− | + | string name = llGetInventoryName(INVENTORY_LANDMARK, 0); | |
− | + | string decription = osGetInventoryDesc(name); | |
− | + | } | |
− | + | } | |
</source> | </source> | ||
|description=Returns a string that is the description of inventory item "name" | |description=Returns a string that is the description of inventory item "name" |
Revision as of 04:28, 10 February 2019
string osGetInventoryDesc(string name)
| |
Returns a string that is the description of inventory item "name" | |
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); } } | |
Notes | |
This function was added in 0.7.4-post-fixes
Implemented March, 17 2012 in GIT# 4a57112f19c0e4eb3545fdc0cbbbd68ce46c6eaa |