Sets the texture u & v offsets for the chosen face.
void llOffsetTexture( float u, float v, integer face );
Forced delay: 0.2 seconds. Energy: 10.0.
If face is ALL_SIDES then the function works on all sides.
//Offsets the textures on 6 sides
float offset;
default
{
state_entry()
{
integer i;
for( i = 1; i < 7; i++ )
{
offset = offset + .1;
llOffsetTexture( (float)offset, (float)offset, i);
}
}
}
If you use vector offsetVec = llGetTextureOffset() to get the vector of the current offset, then u = offsetVec.x and v = offsetVec.y