removed useless _ folders
This commit is contained in:
3
SL_Image_Presenter/SL_Image_Presenter.sol
Normal file
3
SL_Image_Presenter/SL_Image_Presenter.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="SL_Image_Presenter">
|
||||
<Project name="SL_Image_Presenter" path="SL_Image_Presenter\SL_Image_Presenter.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,120 @@
|
||||
// :CATEGORY:Texture
|
||||
// :NAME:SL_Image_Presenter
|
||||
// :AUTHOR:Anonymous
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:39:03
|
||||
// :ID:786
|
||||
// :NUM:1075
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// the Script
|
||||
// :CODE:
|
||||
//
|
||||
|
||||
|
||||
|
||||
integer numberPicture = 0;
|
||||
|
||||
integer totalPictures = 0;
|
||||
|
||||
string nameObject = "blank";
|
||||
|
||||
//integer scan = 0;
|
||||
|
||||
string message = "";
|
||||
|
||||
// Scan to be counter number of displays
|
||||
|
||||
|
||||
|
||||
forward()
|
||||
|
||||
{
|
||||
|
||||
numberPicture++;
|
||||
|
||||
if (numberPicture >= totalPictures) numberPicture = 0;
|
||||
|
||||
nameObject = llGetInventoryName(INVENTORY_TEXTURE, numberPicture);
|
||||
|
||||
llSetTexture(nameObject, 2);
|
||||
|
||||
llSetObjectDesc(nameObject);
|
||||
|
||||
llSetText(nameObject, < 1, 1, 1 >, 1.0 );
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
back()
|
||||
|
||||
{
|
||||
|
||||
numberPicture = numberPicture - 1;
|
||||
|
||||
if (numberPicture < 0) numberPicture = 0;
|
||||
|
||||
if (numberPicture >= totalPictures) numberPicture = 0;
|
||||
|
||||
nameObject = llGetInventoryName(INVENTORY_TEXTURE, numberPicture);
|
||||
|
||||
llSetTexture(nameObject, 2);
|
||||
|
||||
llSetObjectDesc(nameObject);
|
||||
|
||||
llSetText(nameObject, < 1, 1, 1 >, 1.0 );
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
jumpTo( string message )
|
||||
|
||||
{
|
||||
|
||||
//llSay(0,message);
|
||||
|
||||
numberPicture = (integer)message;
|
||||
|
||||
if (numberPicture >= totalPictures)
|
||||
|
||||
{
|
||||
|
||||
//numberPicture = 0;
|
||||
|
||||
llSay(0,"Picture doesn't exist");
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
nameObject = llGetInventoryName(INVENTORY_TEXTURE, numberPicture);
|
||||
|
||||
llSetTexture(nameObject, 2);
|
||||
|
||||
llSetObjectDesc(nameObject);
|
||||
|
||||
llSetText(nameObject, < 1, 1, 1 >, 1.0 );
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<Project name="SL_Image_Presenter" guid="D6C478D4-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D6C479A6-6C00-1014-B904-200204C60A89">
|
||||
<Script name="SL_Image_Presenter_1.lsl" guid="D6C49C9A-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user