Stuff
public text v1 · immutabledefault
{
integer refreshRate = 600;
string srcURL = "http://icons.wunderground.com/data/640x480/2xus_rd.gif";
string dynamicID="";
string contentType="image";
state_entry()
{
refresh_texture();
llSetTimerEvent(refreshRate); // create a "timer event" every 20 seconds.
}
timer()
{
refresh_texture();
}
touch_start(integer times)
{
refresh_texture();
}
void refresh_texture()
{
string URLTexture = osSetDynamicTextureURL(dynamicID, contentType ,srcURL , "", refreshRate );
}
}