Advertisement
salahzar

Frame script per animare linkset

Feb 26th, 2013
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. integer myframe;
  2.  
  3. default
  4. {
  5.     state_entry()
  6.     {
  7.         myframe=(integer)llGetObjectDesc();
  8.         llListen(100,"",NULL_KEY,"");
  9.     }
  10.     listen(integer channel,string name,key id,string str)
  11.     {
  12.         integer frame=(integer)str;
  13.        
  14.         float alpha=0;
  15.         if(frame==myframe) alpha=1;
  16.         llSetLinkAlpha(LINK_SET,alpha,ALL_SIDES);
  17.        
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement