| | |
| |
| llGiveInventory(),点击给物品. |
|
[ 2007/10/28 13:44:00 | By: 梦翔儿 ] |
default { touch_start(integer total_number) { key avKey=llDetectedKey(0); //save key of preson string item="Gift"; //save name of the object 注意区分大小写 llGiveInventory(avKey,item); //give item to avKey } } |
|
| |
| Re:llGiveInventory(),点击给物品. |
|
[ 2007/10/28 13:53:41 | By: 梦翔儿 ] |
default { touch_start(integer number) { llOwnerSay("The key to who touched me is: " +(string)llDetectedKey(0)); } } 这样写也行,这个是测的是点击人的UUID,前面测的是拥有人的UUID |
|
| | | |