OsForceAttachToAvatarFromInventory

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Corrected function description)
m (Removed redundant information)
Line 6: Line 6:
 
* 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=${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER

Revision as of 18:08, 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.
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