# SCRIPT #1 # # integer picindex=0; # # LSL_Types.list urlarray = [] ; # # # public void default_event_state_entry() # { # llSay( 0, "cs osSetDynamicTextureURL Tester"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/001.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/002.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/003.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/004.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/005.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/006.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/007.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/008.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/009.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/010.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/011.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/012.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/013.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/014.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/015.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/016.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/017.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/018.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/019.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/020.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/021.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/022.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/023.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/024.png"); # urlarray.Add("http://nebadon2025.com/sample_gallery_01/025.png"); # # # llSetTimerEvent( 30); // create a "timer event" every 20 seconds. # # } # # public void default_event_timer(){ # // do these instructions every time the timer event occurs. # # // llSay( 0, "Fetching."); # string dynamicID=""; # integer refreshRate = 600; # string contentType="image"; # picindex = (picindex+1) % urlarray.Length; # string srcURL = urlarray.GetSublist(picindex,picindex).ToString(); // URL # string URLTexture=osSetDynamicTextureURL(dynamicID, contentType ,srcURL , "", refreshRate ); # if (llStringLength(URLTexture)>0) # { # //llSay(0,"URLTexture = "+srcURL); # llSetTexture(URLTexture, ALL_SIDES); # } # }