Public Trampoline Script: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Ideia Boa No edit summary |
imported>Fritigern No edit summary |
||
| Line 14: | Line 14: | ||
} | } | ||
} | } | ||
[[Category:Scripts]] | |||
Revision as of 15:01, 19 November 2010
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);
}
}