OsForceAttachToAvatarFromInventory
From OpenSimulator
(Difference between revisions)
m (Added note stating which version of OpenSim introduced this function) |
m (XEngine to OSSL) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
− | |function_syntax= | + | |function_syntax= osForceAttachToAvatarFromInventory(string itemName, integer attachmentPoint) |
|csharp_syntax= | |csharp_syntax= | ||
− | |description=Attach an inventory item in the object containing this script to | + | |description=Attach an inventory item in the object containing this script to the script owner without asking for PERMISSION_ATTACH. Nothing happens if the avatar is not in the region. |
* itemName - The name of the item. If this is not found then a warning is said to the owner. | * itemName - The name of the item. If this is not found then a warning is said to the owner. | ||
* attachmentPoint - The attachment point. For example, ATTACH_CHEST. | * attachmentPoint - The attachment point. For example, ATTACH_CHEST. | ||
− | |||
− | |||
|threat_level=High | |threat_level=High | ||
− | |permissions=${ | + | |permissions=${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
|delay=0 | |delay=0 | ||
|ossl_example= | |ossl_example= | ||
|additional_info=This function was added in 0.7.4-post-fixes | |additional_info=This function was added in 0.7.4-post-fixes | ||
}} | }} |
Revision as of 07:25, 7 November 2019
osForceAttachToAvatarFromInventory(string itemName, integer attachmentPoint)
| |
Attach an inventory item in the object containing this script to the script owner without asking for PERMISSION_ATTACH. Nothing happens if the avatar is not in the region.
| |
Threat Level | High |
Permissions | ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
Extra Delay | 0 seconds |
Notes | |
This function was added in 0.7.4-post-fixes |