llSetTouchText(string text)  设置右键touch字
作者:梦翔儿 日期:2007-7-23 16:17:00
llSetTouchText(string text) //设置右键touch位置的字样

default
{
    state_entry()
    {
         llSetColor(<0,0,0>,ALL_SIDES);
    }

    touch_start(integer total_number)
    {
        state myColor;
    }
}

    state myColor
    {
        state_entry()
        {
            llSetTouchText("Color");
            llSetColor(<0,7,7>,ALL_SIDES);
            llSleep(2);
            llSetColor(<7,7,7>,ALL_SIDES);
        state default;
        }   
    }

发表评论:

    大名:
    密码: (游客无须输入密码)
    主页:
    标题:
Powered by Oblog.