载入中。。。 'S bLog
 
载入中。。。
 
载入中。。。
载入中。。。
载入中。。。
载入中。。。
载入中。。。
 
填写您的邮件地址,订阅我们的精彩内容:


 
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
    }
}
 
 
  • 标签:second life 
  •  
    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
     
     
    发表评论:
    载入中。。。

     
     
     

    梦翔儿网站 梦飞翔的地方 http://www.dreamflier.net
    中华人民共和国信息产业部TCP/IP系统 备案序号:辽ICP备09000550号

    Powered by Oblog.