OsForceAttachToAvatarFromInventory

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added note stating which version of OpenSim introduced this function)
m (Corrected function description)
Line 2: Line 2:
 
|function_syntax=void osForceAttachToAvatarFromInventory(string itemName, integer attachmentPoint)
 
|function_syntax=void osForceAttachToAvatarFromInventory(string itemName, integer attachmentPoint)
 
|csharp_syntax=
 
|csharp_syntax=
|description=Attach an inventory item in the object containing this script to any avatar in the region without asking for PERMISSION_ATTACH.  Nothing happens if the avatar is not in the region.
+
|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.

Revision as of 18:06, 15 November 2018

void 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.
  • 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.

In OpenSimulator 0.7.4.

Threat Level High
Permissions ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
Delay 0 seconds
Notes
This function was added in 0.7.4-post-fixes
Personal tools
General
About This Wiki