News: SMF - Just Installed!
Welcome, Guest. Please login or register.
Did you miss your activation email?

 Raglan Shire ForumsRecent Posts
Pages: [1] 2 3 ... 10
 1 
 on: December 03, 2016, 11:28:38 AM 
Started by Bloodfang Clawtooth - Last post by Bloodfang Clawtooth
Anyone wanna do this?  https://en.wikipedia.org/wiki/Mannequin_Challenge

 2 
 on: November 26, 2016, 12:44:13 PM 
Started by Bloodfang Clawtooth - Last post by Bloodfang Clawtooth
We should do a America's Top Singer event and have a vote for the best of the best.

 3 
 on: May 26, 2016, 09:25:56 AM 
Started by Tapple Gao - Last post by Raymond Nightfire
I may not been logged in for a long time, but I still remember your group title Tapple.

 4 
 on: May 25, 2016, 01:33:01 PM 
Started by Tapple Gao - Last post by Tapple Gao
Polar and I both claim the title of most naked tiny. This must be resolved.
Who do you think of first when you think of a naked tiny?
Who is better known as the naked tiny?
We need to know.

 5 
 on: February 16, 2016, 05:25:26 AM 
Started by Pipa Novelli - Last post by Kayak Kuu
Interesting, got to try this, thanks Pipa :-)

 6 
 on: February 15, 2016, 10:19:40 PM 
Started by Pipa Novelli - Last post by Pipa Novelli
Put this script in any prim of a link set that has chairs and set ALL the sit targets with one script.  Name your chairs 'chair' (you can call then 'Fred' if you want, as long as you reflect that in the script).  

This saves the hassle of adjusting lots of seats in a build like a cinema or stadium.  Sit positions will apply to all the seats in the link set.

.........................................................................

vector SIT_POS = <0.25, -0.0, 0.5>; // The sit offset for the chair
vector SIT_ROT = <1.0, 0.0, 00.0>; // The sit rotation in degrees (must not be xero rotation to work)


get_chairs() //This is a custom 'find the chairs' function
{
    integer i;  // Define a blank integer to work with.
    integer l = llGetNumberOfPrims() + 1; // Count the prims in the linkset and add one for good measure
        
    for(i = 0; i < l ; ++i) //A 'for' loop starts i as 0 then adds 1 to it until i equals the number of prims plus one.
    {
        if(llGetLinkName(i) == "chair") //If link number i is called 'chair'
        {
            llLinkSitTarget( i ,  SIT_POS, llEuler2Rot(SIT_ROT * DEG_TO_RAD)); //Apply the sit script to it.
        }
    }    
}


 
default // Script atarting point.
{
    state_entry()
    {
        get_chairs(); // Find out which prims are a chair
    }
    changed(integer change)
    {
        if(change & CHANGED_LINK) //If someonee sits down or prims have been added or removed.
        {
            get_chairs();  // Find out which prims are a chair
        }
    }
 
}

 7 
 on: February 15, 2016, 09:45:45 PM 
Started by shadowmarlin - Last post by Liam Metaluna
hihi,
I wish there was a slurl, as I would love to see some RL photos.

 8 
 on: February 15, 2016, 06:18:52 PM 
Started by Pipa Novelli - Last post by Pipa Novelli
Drop this into the root prim of you build and it will give you the information of each individual prim in that link set when you click on it.

default
{
    state_entry()
    {
        llOwnerSay("Click me to check linked prim numbers");
    }

    touch_end(integer total_number)
    {

        llOwnerSay(
        "\n Touched prim Name = "
        +(string)llGetLinkName(llDetectedLinkNumber(0))
        +"\n Prim number = "
        +(string)llDetectedLinkNumber(0)
        +"\n Local position = "
        +(string)llGetLinkPrimitiveParams(llDetectedLinkNumber(0),[PRIM_POS_LOCAL])
        +"\n Prim size = "
        +(string)llGetLinkPrimitiveParams(llDetectedLinkNumber(0),[PRIM_SIZE])
        +"\n Rotation = "
        +(string)llGetLinkPrimitiveParams(llDetectedLinkNumber(0),[PRIM_ROT_LOCAL])
        );   
    }
}



Pages: [1] 2 3 ... 10