LlSetInventoryPermMask

来自人工智能助力教育知识百科
跳转至: 导航搜索

Template:Needs Translation/

(此功能只能在God模式下执行。)

函数名
Function: llSetInventoryPermMask( string item, integer category, integer value );
参数:

• string item – an item in the inventory of the prim this script is in

• integer category– MASK_* flag

• integer value – Permission bit field (PERM_* flags)

返回值:将给定的权限类别设置为库存项上的新值。
注意事项
此功能只能在God模式下执行。

如果物品从prim的库存中丢失,那么DEBUG_CHANNEL将显示一个错误。

示例

相关函数
llGetInventoryPermMask
相关事件