OK, I am new to this, and this first question is really to ask if what I envision is possible. It is quite long winded, sorry:
I have made a lovely shoulder buddy or a bird that is quite animated, thanks to a script written by a friend, but I would like its eyes to blink. My thinking went like this: create a flattened cylinder, put in a texture of an open eye-with pupil, and a closed eye/blink-just a white texture. Along with this, I threw in an image cycler to switch between the two textures. Then, I made a copy of this, but as you probably have figured, the two "eyes" blink on and off randomly, giving my shoulder buddy bird a somewhat crazed look.
Is there a way to get the cycling of the images to link up? I tried working with a link and timer script, created for me, but they didn't quite do the trick.
Any suggestions? I have pasted the link and timer script here, but don't know if that's of any help.
I would appreciate any comments. Even references to where to go for the info would be appreciated. Thanks. Scripts:
TIMER SCRIPT:
Default
{
state entry()
{
llSetTimerEvent(30);
}
timer()
{
11MessageLinked(LINK_SET, 0, ‘blink”, NULL KEY);
}
}
LINK SCRIPT:
Default
{
link_message(integer sender, interger num, string message, key id)
{
if (message ==”blink”)
{
llSetTexture(“White eye”), 2);
llSleep (1.0);
llSetTexture(“Bird Eye”, 2);
}
}
}