removed useless _ folders
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<Solution name="Auto_attach_when_dropped_on_ground">
|
||||
<Project name="Auto_attach_when_dropped_on_ground" path="Auto_attach_when_dropped_on_ground\Auto_attach_when_dropped_on_ground.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,6 @@
|
||||
<Project name="Auto_attach_when_dropped_on_ground" guid="D8AC6B78-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D8AC6C79-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Auto_attach_when_dropped_on_ground_1.lsl" guid="D8AC8706-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
@@ -0,0 +1,43 @@
|
||||
// :CATEGORY:AO
|
||||
// :NAME:Auto_attach_when_dropped_on_ground
|
||||
// :AUTHOR:Ferd Frederix
|
||||
// :CREATED:2011-06-06 14:17:56.600
|
||||
// :EDITED:2013-09-18 15:38:48
|
||||
// :ID:62
|
||||
// :NUM:89
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Auto attaches anything to HUD_BOTTOm when dropped on the ground
|
||||
// :CODE:
|
||||
//-- rez object on ground, drop in this script, it will request permissions to attach,
|
||||
|
||||
//-- and then attach to the bottom if permission is granted. if permission is denied,
|
||||
|
||||
//-- then the script complains.
|
||||
|
||||
|
||||
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
llRequestPermissions( llGetOwner(), PERMISSION_ATTACH );
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
run_time_permissions( integer vBitPermissions )
|
||||
|
||||
{
|
||||
|
||||
if (PERMISSION_ATTACH & vBitPermissions)
|
||||
|
||||
{
|
||||
|
||||
llAttachToAvatar( ATTACH_HUD_BOTTOM );
|
||||
Reference in New Issue
Block a user