|
Django Yifu
Beat Island Gaffer
Join date: 7 May 2007
Posts: 189
|
03-03-2008 03:38
I had this segment of code running in a link set for a couple of days and things were fine..did all it was supposed to.. I updated an object within the linkset to become a sculpty instead of a basic prim and now the scripted llSetPos object no longer moves. Other scripts in the same linkset still work fine it's just this one script. integer foo = TRUE; default { state_entry() { while (foo == TRUE) { llSetPos(llGetLocalPos()+<0,0,0.1> * llGetRot()); llSleep(0.1); llSetPos(llGetLocalPos()+<0,0,-0.1> * llGetRot()); llSleep(0.1); } } }
Any ideas?
_____________________
Tread softly upon the Earth for you walk on my face.
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
03-03-2008 08:57
Have you tried copying the object, turning the prim back into a non-sculpty, and trying again? Might help narrow down whether that's the problem or not.
|
|
Daten Thielt
Registered User
Join date: 1 Dec 2006
Posts: 104
|
03-03-2008 09:12
llSetPos has a sleep time of 0.2
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
03-03-2008 11:51
From: Daten Thielt llSetPos has a sleep time of 0.2 which OP is increasing to .3 apparently,, at a guess to get some more distinction between each move, similar to a tick second hand, rather than a smooth seeming sweep..
_____________________
| | . "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... | - 
|
|
Django Yifu
Beat Island Gaffer
Join date: 7 May 2007
Posts: 189
|
03-04-2008 03:16
I was indeed going for a 0.3 sec delay between movements. I'm not that much of a noobie  Well it appeared what I needed to do to correct the problem was take it into inventory and re-rez it and the SetPos script started working again. I wonder if this is a random glitch or a recognised problem with changing linked prims to sculpts
_____________________
Tread softly upon the Earth for you walk on my face.
|