停止脚本运行的脚本


Second Life中文指南 http://www.secondlifecn.com/ 第二生命 第二人生_Second Life_ChinaQ_HiPiHi玩家基地 查看完全版 查看精简版
 提醒您:如果本页图片或Flash动画无法正常显示,请点击这里访问原帖。
停止脚本运行的脚本 作者:Tony 时间:2007-1-17 17:37:00 1
//script to clear text, animation, and particles from a prim.
//by Robin Sojourner

// When you remove the scripts for effects, such as floating text, texture animation, or particles, from a prim it doesn't stop the effect.

// To do that, you need to reset it, which you can do by changing the code, or by using another script - this one!

// Just drop this script into a scriptless prim that has lingering effets you don't want, click Reset, and they will all stop. Remove this script, and they will stay stopped.

//If you only want to clear some of these effects, just type '//' in front of the line for the effect you want to KEEP. This turns the command into a comment, which will be ignored, and is referred to as "commenting out" the line.

// To keep floating text, comment out 11SetText
// To keep animatied textures, comment out llSetTextureAnim
// To keep particles, comment out llParticleSystem




default
{
    state_entry()
    {
        llSetText("", <1>, 1.5);
        llSetTextureAnim(FALSE, ALL_SIDES,0,0,0.0, 1,0.3);
        llParticleSystem([]);
     }
}
所属版面:制造&脚本 本主题第1页
共有回复: 0 共有页数: 1 显示主题数:50     说买网 免费购物 U盘生产厂家