removed useless _ folders
This commit is contained in:
59
SlideShow/SlideShow/Object/SlideShow_1.lsl
Normal file
59
SlideShow/SlideShow/Object/SlideShow_1.lsl
Normal file
@@ -0,0 +1,59 @@
|
||||
// :CATEGORY:Slideshow
|
||||
// :NAME:SlideShow
|
||||
// :AUTHOR:Encog Dod
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:39:04
|
||||
// :ID:795
|
||||
// :NUM:1104
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// SlideShow
|
||||
// :CODE:
|
||||
// From the book:
|
||||
|
||||
//
|
||||
|
||||
// Scripting Recipes for Second Life
|
||||
|
||||
// by Jeff Heaton (Encog Dod in SL)
|
||||
|
||||
// ISBN: 160439000X
|
||||
|
||||
// Copyright 2007 by Heaton Research, Inc.
|
||||
|
||||
//
|
||||
|
||||
// This script may be freely copied and modified so long as this header
|
||||
|
||||
// remains unmodified.
|
||||
|
||||
//
|
||||
|
||||
// For more information about this book visit the following web site:
|
||||
|
||||
//
|
||||
|
||||
// http://www.heatonresearch.com/articles/series/22/
|
||||
|
||||
|
||||
|
||||
list slides = ["slide1","slide2","slide3","slide4"];
|
||||
|
||||
integer index;
|
||||
|
||||
|
||||
|
||||
newSlide()
|
||||
|
||||
{
|
||||
|
||||
string texture = llList2String(slides,index);
|
||||
|
||||
llSetTexture(texture,1);
|
||||
|
||||
index++;
|
||||
|
||||
if(index>=llGetListLength(slides) )
|
||||
|
||||
index = 0;
|
||||
6
SlideShow/SlideShow/SlideShow.prj
Normal file
6
SlideShow/SlideShow/SlideShow.prj
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project name="SlideShow" guid="D6923020-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D6923113-6C00-1014-B904-200204C60A89">
|
||||
<Script name="SlideShow_1.lsl" guid="D6972A9A-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user