All pastes #742879 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-10-19 22:02 UTC
rendered paste body
default
{
    state_entry()
    {
        llVolumeDetect(TRUE);
       // llCollisionSprite("splish");
       // llPassCollisions(TRUE);
    }
    collision_start(integer total_number)
    {
        vector collision_pos = llDetectedPos(0);
        collision_pos.z -= 1.0;
        integer param = llGetStartParameter();
        vector rot_vec = <0.0, 90.0, 0.0>;
        rot_vec *= DEG_TO_RAD;
        rotation rot = llEuler2Rot(rot_vec);        
        llRezAtRoot("Splash", collision_pos, ZERO_VECTOR, rot, param); 
        //llSay(0, "splish");
    }
}