SHARE
TWEET

Untitled

a guest Jan 29th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. string animM = "AZ Viennese Waltz (AnimaZoo) m";
  2. string animF = "AZ Viennese Waltz (AnimaZoo) f";
  3.  
  4. default
  5. {
  6.     attach(key id)
  7.     {
  8.         if (id)     // is a valid key and not NULL_KEY
  9.         {
  10.             llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
  11.         }
  12.         else
  13.         {
  14.             llStopObjectAnimation(animF);
  15.             llStopAnimation(animM);
  16.         }
  17.     }
  18.     run_time_permissions(integer perm)
  19.     {
  20.         if (perm & PERMISSION_TRIGGER_ANIMATION)
  21.         {
  22.             llStartAnimation(animM);
  23.             llStartObjectAnimation(animF);
  24.         }
  25.     }
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top