Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
AO Auto_attach_when_dropped_on_ground  

Auto_attach_when_dropped_on_ground

Auto attaches anything to HUD_BOTTOm when dropped on the ground

Category: AO
By : Ferd Frederix
Created: 2011-06-06 Edited: 2011-06-06
Worlds: Second Life

the Zip file

Download all files for Auto_attach_when_dropped_on_ground
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Auto_attach_when_dropped_on_ground_1.lsl

This script by Ferd Frederix may be used in any manner, modified, and republished.  Unless specified otherwise, my scripts are always free and open source.  Objects made with these scripts may be sold with no restrictions.  All I ask is that you point others to this location should they ask you about it and to not sell this script, unless it is for $0 L. Please help improve my work by reporting bugs and improvements.

1 //-- rez object on ground, drop in this script, it will request permissions to attach,
2 //-- and then attach to the bottom if permission is granted. if permission is denied,
3 //-- then the script complains.
4
5 default
6 {
8 {
10 }
11
12 run_time_permissions( integer vBitPermissions )
13 {
14 if(PERMISSION_ATTACH & vBitPermissions)
15 {
17 }
18 else
19 {
20 llOwnerSay( "You must attach this as a HUD" );
21 }
22 }
23
24 on_rez(integer rez)
25 {
27 { //reset the script if it's not attached.
29 }
30 }

Back to the Best Free Tools in Second Life and OpenSim.