Advertisement
giratina1999

linden scripting :P

Feb 14th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //need help with this script, basically what it is for is a shield, but i want it to if owner walks into it then dont play sound
  2. but if not owner then play sound
  3.  
  4. default
  5. {
  6.         collision(integer num_detected)
  7.         {
  8.          if (llDetectedType(0) & AGENT)
  9.         {
  10.          llOwnerSay(llDetectedName(0) + " is Trying to Enter Shield!");
  11.          llPlaySound("14499709-191f-14cb-e769-aaab9999ae25",1.0);
  12.          llSleep(1.0);
  13.          llResetScript();
  14.         }
  15.     }
  16.    
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement