I am a newbie so bare with me if I am being dumb.
I have this script in a single prim object, to reposition it every second.
vector startPos;
default
{
state_entry()
{
llSetTimerEvent(1);
startPos = llGetPos();
}
timer()
{
llSetPrimitiveParams([PRIM_POSITION, startPos]);
}
}
it works except if i create a new instance of the object it repositions
to the location of the 1st instance.
If I edit and turn the script off, then taketo inv , make a new instance from this
and turn its script back on - its fine.
Is this normal, it's not what i expected.
Doesn't state_entry run when a new instance is made?