removed useless _ folders
This commit is contained in:
3
Regular_Sit_Script/Regular_Sit_Script.sol
Normal file
3
Regular_Sit_Script/Regular_Sit_Script.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="Regular_Sit_Script">
|
||||
<Project name="Regular_Sit_Script" path="Regular_Sit_Script\Regular_Sit_Script.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,56 @@
|
||||
// :CATEGORY:Pose Balls
|
||||
// :NAME:Regular_Sit_Script
|
||||
// :AUTHOR:Ben Linden
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:39:01
|
||||
// :ID:689
|
||||
// :NUM:938
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Regular Sit Script.lsl
|
||||
// :CODE:
|
||||
|
||||
// Quick and dirty regularsit
|
||||
// Ben Linden
|
||||
|
||||
|
||||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
|
||||
}
|
||||
|
||||
on_rez(integer param)
|
||||
{
|
||||
llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
|
||||
|
||||
}
|
||||
|
||||
run_time_permissions(integer perms)
|
||||
{
|
||||
if(perms)
|
||||
{
|
||||
llSetTimerEvent(1.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
llSetTimerEvent(0.0);
|
||||
}
|
||||
}
|
||||
|
||||
timer()
|
||||
{
|
||||
if(llGetAnimation(llGetOwner()) == "Sitting")
|
||||
{
|
||||
llStopAnimation("sit");
|
||||
llStartAnimation("sit_generic");
|
||||
}
|
||||
else
|
||||
{
|
||||
llStopAnimation("sit_generic");
|
||||
}
|
||||
}
|
||||
}
|
||||
// END //
|
||||
@@ -0,0 +1,6 @@
|
||||
<Project name="Regular_Sit_Script" guid="D779525E-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D779533A-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Regular_Sit_Script_1.lsl" guid="D7796A07-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user