LlBreakLink

De DigiWiki.

Version du 17 mars 2012 à 08:58 par Djphil (discuter | contributions)
(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)
//-- requests permission to change links, then breaks the link
//-- between the prim and the rest of the object, on touch.
default{
  state_entry(){
    llRequestPermissions( llGetOwner(), PERMISSION_CHANGE_LINKS );
  }
 
  touch_start( integer vIntTouched ){
    llBreakLink( llGetLinkNumber() );
  }
}
Outils personnels
donate
Google Ads