Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Collider Collision_Detect  

Collision_Detect

Collision_Detect

Category: Collider
By : Fred Kinsei
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Collision_Detect
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Collision_Detect_1.lsl
1 //Made By Fred Kinsei
2
3 default
4 {
6 {
7 integer type = llDetectedType(0);
8 if(llDetectedOwner(0) != llGetOwner() && !(type&AGENT) && (type & ACTIVE || (type & PASSIVE && type & SCRIPTED) || (type & ACTIVE && type & SCRIPTED)))
9 {
10 if(!(!(type&ACTIVE) && type&PASSIVE && type&SCRIPTED))
11 llOwnerSay(llKey2Name(llDetectedOwner(0)) + " has hit you with physical object: '" + llDetectedName(0)+"'");
12 }
13 if(type&AGENT)
14 {
16 llOwnerSay(llKey2Name(llDetectedKey(0)) + " has bumped you.");
18 llOwnerSay("You bumped " + llKey2Name(llDetectedKey(0)));
19 }
20 }
21 }

Back to the Best Free Tools in Second Life and OpenSim.