Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

texture mapping keeps resetting to default?????

RaptonX Zorger
Registered User
Join date: 26 Jan 2006
Posts: 79
04-11-2006 12:28
ok, I am usign a texture offest script to do a staged eyeblink, this uses the planair texture....and aparenty it keeps resetting when I teleport from one location to another..... Is there a way to tell the damn thing not to go back to default? I looked over the scripts that set parameters, but did not see it, or is it named something else?


Also..... I use a script to change the skin of the ave, but when worn again, it gives random colors at rez, granted this is not a problem really and can easily be corrected by entering commands (or press controls if I decide ot make a hud for it) So yeah, thats about it......
Adrian Zobel
Registered User
Join date: 4 Jan 2006
Posts: 49
04-12-2006 07:22
How about this?

changed(integer change) {
if (change & CHANGED_TELEPORT) llSetPrimitiveParams(whatever offset it's supposed to be);
}

For the second part, how about

on_rez(integer start_param) {
llSetColor(whatever color it's supposed to be);
}

or you could use attach() instead of on_rez().