OsForceAttachToAvatarFromInventory

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added permissions and delay information)
m (XEngine to OSSL)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
|function_syntax=void osForceAttachToAvatarFromInventory(string itemName, integer attachmentPoint)
+
|function_syntax= 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.
 
* attachmentPoint - The attachment point.  For example, ATTACH_CHEST.
 
* attachmentPoint - The attachment point.  For example, ATTACH_CHEST.
 
In OpenSimulator 0.7.4.
 
 
|threat_level=High
 
|threat_level=High
|permissions=${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
+
|permissions=${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
 
|delay=0
 
|delay=0
 
|ossl_example=
 
|ossl_example=
|additional_info=
+
|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.
  • 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.
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
Personal tools
General
About This Wiki