Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Roving Eye Script?

Kether Farshore
Registered User
Join date: 9 Apr 2009
Posts: 9
05-19-2009 09:38
I'm trying to find a script that will allow me to place a roving "eye" in a vehicle or my robot, similar to the red roving eye found in Knight Rider's car or the Battlestar Galatic Cylon robots.

Does anyone know where I can find this?

thanks!
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-19-2009 10:42
llSetTextureAnim is what you want...
https://wiki.secondlife.com/wiki/LlSetTextureAnim

ANIM_ON, LOOP, PING_PONG, SMOOTH
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Kether Farshore
Registered User
Join date: 9 Apr 2009
Posts: 9
05-19-2009 13:25
thanks...

you rock Void!
Kether Farshore
Registered User
Join date: 9 Apr 2009
Posts: 9
05-19-2009 14:13
hey Void Singer..

I used that command like you suggested but all I got was a glowing red box. Theres no "eye" moving back and forth.

What gives?

this is my script:

default
{
state_entry()
{
// anim SMOOTH Script

llSetTextureAnim(ANIM_ON | LOOP | PING_PONG | SMOOTH, ALL_SIDES,25,25,25.0, 20,20.20);
}
}
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
05-19-2009 16:01
You need to make a texture with it, that looks like the eye, but not moving, so a middle part that is bright red, that fades to black on both sides, then it should work.
Kether Farshore
Registered User
Join date: 9 Apr 2009
Posts: 9
05-19-2009 16:59
Thanks Lazink. gonna try it now..
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-19-2009 23:39
actually I think it'll need to have the red part on one side, but yeah... and I'm not sure about your offsets/cell counts
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -