Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Auto Rotate Objects

EGF1 Writer
Registered User
Join date: 7 Mar 2007
Posts: 17
03-11-2007 12:49
How do i make an object auto rotate ... like a sign or something .... i see them all around SL but can't find a script or .....

please help me

EGF1 Writer (SL)
www.egf1.com
_____________________
EGF1 Writer (SL)
www.EGF1.com
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
03-12-2007 01:47
That's more of a scripting question, but it's a very simple one so here you go :)

Make a new script inside the prim, and paste this into the script (replacing the stuff that was there):

CODE

float speed = 0.1; // edit this number to make it spin faster or slower

default
{
state_entry ()
{
llTargetOmega(<0,0,1>, speed, 1);
}
}


Hope that does the trick for you.
EGF1 Writer
Registered User
Join date: 7 Mar 2007
Posts: 17
03-12-2007 03:05
GREAT !!!!

Thanks for the help friend ...

EGF1 Writer (SL)
www.egf1.com
_____________________
EGF1 Writer (SL)
www.EGF1.com