


LlStartAnimation(llGetInventoryName(INVENTORY_ANIMATION,0)) LlStopAnimation(llGetInventoryName(INVENTORY_ANIMATION,0)) LlRequestPermissions(llDetectedKey(0),PERMISSION_TRIGGER_ANIMATION) Here's the script I currently have: integer playing In this case, I am not finding solutions. I have effectively no scripting experience so I just find scripts others made or haphazardly tinker. I already have a script which animates on touch but now I need to implement some kind of permission system. When clicked a second time, the animation stops. To change the channel on which the object listens or the command that it listens for, or to allow it to accept the command from anyone rather than just the owner, made the blindingly obvious change(s) to the first few lines.I would like to create an object that, when clicked by a specific person and only that person, it will animate the wearer of the object. The more prims (up to and not exceeding 32) the merrier, in general. Unless sort of falling over and then disappearing is interesting. Objects consisting of just a couple of prims, or (clearly) just one, won't do anything all that interesting when this script is activated. Objects made of largely-nonoverlapping prims will collapse in a more or less leisurely fashion, whereas objects whose prims overlap heavily may scatter debris all over the place. The degree of explodingness of the object will depend largely on how much overlap there is between the various prims making up the object. This is because things that are interpenetrating with other things also cannot be made physical. Before activating the script, you should make sure that the object is not interpenetrating with some other object (the ground is probably okay). Although I haven't ever actually tried that. Then they will all blow up together on command. If you have a larger object, you can manually divide it up into multiple 32-prim-or-less objects and stick this script into the root prim of each one. This is because (at least as of this writing) objects with more than 32 prims cannot be made physical. More significantly, the script works only on objects that consist of 32 or fewer prims. Which is good, really, as you wouldn't want other people causing your personal objects to blow up. This script works only on objects into the root prim of which you can stick a script. The debris it leaves behind will vanish automatically a bit later, just after you've decided that it's not going to and you're going to have to clean it all up by hand. In particular, it sets the object to physical (so the physics engine will cause it to blow up in an aesthetically pleasing way), sets it to temp-on-rez (so that all the prims will vanish when the sim gets tired of having them around), and then breaks all the links in the object (causing it to blow up).// Usage// // To use this script, stick it into the root prim of the object in question (after reading the Limitations and Notes below to make sure the object qualifies), say "Yes" to the prompt about whether or not it should be able to change links, and then say "collapse" on channel 7 (like "/7collapse", you know). This script example can be used to make an object blow up, and have the resulting debris automatically vanish.

One often-undesirable side-effect of things blowing up is that they leave debris behind. Introduction:// // Making things blow up is good fun.
