Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sensor(integer n)
- {
- key owner = llGetOwner();
- while(~--n)
- {
- key detectedKey = llDetectedKey(n);
- if ( detectedKey != owner )
- {
- integer i;
- for(; i <= n && detectedKey != NULL_KEY; ++i) {
- llRezObject("[ Wind Particle Effect ]",llDetectedPos(i) + llDetectedVel(i) / 4,-llDetectedVel(i),<0,0,0,0>,1);
- llOwnerSay("Detected " + llKey2Name(detectedKey ));
- }
- llSetTimerEvent(1);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement