Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Hmm??

Kirsi Assia
Registered User
Join date: 13 Jul 2005
Posts: 21
11-27-2005 19:23
I am making this a rocking chair rocking. it worked before but i destroyed the script. stupid me and I tried to fix the script by using the original but I forgot how -.-

rotation GetParentRot()
{
return Inverse(llGetLocalRot())*llGetRot();
}
SetLocalRot(rotation x)
{
llSetRot(x*Inverse(GetParentRot()));
}


vector normal = <1.5, 0.0, -1.75>;

default
{
state_entry()
{
@a;
SetLocalRot(llEuler2Rot(<normal.x, normal.y, normal.z + 1>;));
SetLocalRot(llEuler2Rot(normal));
SetLocalRot(llEuler2Rot(<normal.x, normal.y, normal.z - 1>;));
SetLocalRot(llEuler2Rot(normal));
jump a;
}

}



It states that I have an error and I dont know what I am doing wrong? Either that or I'm asleep here -.-

Thanks very much for any help.
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
11-27-2005 20:01
I don't belive LSL has jumps.

Use a timer :)
_____________________
Kirsi Assia
Registered User
Join date: 13 Jul 2005
Posts: 21
11-27-2005 20:18
O.o i have used this and it now didnt work i wonder if it was due to the updates of SL patches that changed this

I know about timer but this is not what i need.
Sator Canetti
Frustrated Catgirl
Join date: 20 Sep 2005
Posts: 130
11-27-2005 20:40
From: Jillian Callahan
I don't belive LSL has jumps.

Use a timer :)



Umm, unless the wiki is out of date...

http://secondlife.com/badgeo/wakka.php?wakka=jump
Kirsi Assia
Registered User
Join date: 13 Jul 2005
Posts: 21
11-27-2005 21:58
Still doesn't answer my question, I want someone who knows that script i posted and work with me on this please.

Thank you.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
11-27-2005 22:02
LSL has jumps though they don't work properly :P

see the page on the wiki.

Really you should use a timer.

Oh and just use llSetLocalRot you don't need those functions at the top they were added to the language ages ago.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
11-27-2005 22:31
From: Kirsi Assia
Still doesn't answer my question, I want someone who knows that script i posted and work with me on this please.

Thank you.
Sorry for trying! Won't happen again.
_____________________