远程传送
作者:梦翔儿 日期:2007-7-24 10:02:00

例子演示的是两层之间的切换

// Code by Felix xu of www.slbazar.com

// Level 1 
vector target=<227,31,300>;

default
    {
        state_entry()
    {
        llSetSitText("Level 1");
        
        rotation my_rot=llGetRot();
        
        llSitTarget((target - llGetPos())          

    }

     changed(integer change)
    {
        llUnSit(llAvatarOnSitTarget());
    }
        touch_start(integer total_number)
    {

      llSay( 0, "Please right click poster and choose Level 1");
    } 
}


// End of code;

  • 标签:远程传送 second life 
  • 发表评论:

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