Public Trampoline Script: Difference between revisions

From OpenSimulator
Jump to navigationJump to search
imported>Fritigern
No edit summary
imported>MakoBot
m Removed 'Template:' prefix from template includings and/or changed external-link into internal-link
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Template:Quicklinks}}
{{Quicklinks}}
<br />
<br />



Revision as of 23:35, 10 June 2011


float force_amount = 999.0;
default
{
    collision_start(integer tnum)
    {
        // UnComment this if you want to trigger a sound
        // llTriggerSound("trampoline", 0.5);
        if (llDetectedType(0) & AGENT)
            llPushObject(llDetectedKey(0), force_amount*llRot2Up(llGetRot()), ZERO_VECTOR, FALSE);
    }
}