“LlSetInventoryPermMask”的版本间的差异

来自人工智能助力教育知识百科
跳转至: 导航搜索
Mkx讨论 | 贡献
(创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} (此功能只能在God模式下执行。) {{函数详情 |函数名 = Function: llSetInventoryPer…”)
 
(没有差异)

2020年8月22日 (六) 07:20的最新版本

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
相关事件