removed useless _ folders
This commit is contained in:
3
anim_script/anim_script.sol
Normal file
3
anim_script/anim_script.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="anim_script">
|
||||
<Project name="anim_script" path="anim_script\anim_script.prj" active="true"/>
|
||||
</Solution>
|
||||
56
anim_script/anim_script/Object/anim_script_1.lsl
Normal file
56
anim_script/anim_script/Object/anim_script_1.lsl
Normal file
@@ -0,0 +1,56 @@
|
||||
// :CATEGORY:Animation
|
||||
// :NAME:anim_script
|
||||
// :AUTHOR:Anonymous
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:38:47
|
||||
// :ID:36
|
||||
// :NUM:49
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// anim script.lsl
|
||||
// :CODE:
|
||||
|
||||
string anim = "boomboxin2";
|
||||
|
||||
integer attached = FALSE;
|
||||
integer permissions = FALSE;
|
||||
|
||||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
|
||||
}
|
||||
|
||||
run_time_permissions(integer permissions)
|
||||
{
|
||||
if (permissions > 0)
|
||||
{
|
||||
llStartAnimation(anim);
|
||||
attached = TRUE;
|
||||
permissions = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
attach(key attachedAgent)
|
||||
{
|
||||
if (attachedAgent != NULL_KEY)
|
||||
{
|
||||
attached = TRUE;
|
||||
|
||||
if (!permissions)
|
||||
{
|
||||
llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
attached = FALSE;
|
||||
llStopAnimation(anim);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// END //
|
||||
6
anim_script/anim_script/anim_script.prj
Normal file
6
anim_script/anim_script/anim_script.prj
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project name="anim_script" guid="D6DD4EC1-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D6DD4FB0-6C00-1014-B904-200204C60A89">
|
||||
<Script name="anim_script_1.lsl" guid="D6DD69FE-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user