rendered paste body//c#
int picCount=0;
System.Collections.ArrayList picList = new System.Collections.ArrayList();
public void default_event_state_entry()
{
picList.Add("http://esamultimedia.esa.int/images/astrolab/s121e05272.jpg");
picList.Add("http://esamultimedia.esa.int/images/ISS/Second.jpg");
picList.Add("http://esamultimedia.esa.int/images/ISS/01.jpg");
picList.Add("http://esamultimedia.esa.int/images/ISS/ISS_and_airplane_H.jpg");
llSetTimerEvent(10);
}
public void default_event_timer(){
picCount++;
if (picCount >= picList.Count)
picCount = 0;
string URLTexture = osSetDynamicTextureURL("", "image", (string)picList[picCount], "", 0);
if (URLTexture.Length > 0)
{
llSetTexture(URLTexture, ALL_SIDES);
}
}