Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Float into air on rez

Eileen McCallister
Registered User
Join date: 13 Aug 2006
Posts: 9
05-29-2007 14:14
I'm looking for a script that moves an object slowly into the air (on rez)
and kills the object after 15 seconds.
Not a scripter myself, I looked around for hours, without any luck.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
05-29-2007 14:40
From: Eileen McCallister
I'm looking for a script that moves an object slowly into the air (on rez)
and kills the object after 15 seconds.
Not a scripter myself, I looked around for hours, without any luck.


Can think of a couple of ways:
1) Use llGetPos and llSetPos in a timer event. Keep track of time and after 15 seconds call llDie.
2) Use llMoveToTarget with a calculated end point and call llDie when you reach the required point.
_____________________
I'm back......
Dnel DaSilva
Master Xessorizer
Join date: 22 May 2005
Posts: 781
05-30-2007 00:07
how about:

on rez
{
llSetBuoyancy(something greater than 1);
llSleep(15);
llDie();
}

It would have to be a physical object, but if its something like a baloon, it would even bouce off of stuff.

Seems almost too simple, am I missing something?
_____________________
Xessories in Urbane, home of high quality jewelry and accessories.

Coming soon to www.xessories.net

Why accessorize when you can Xessorize?
Eileen McCallister
Registered User
Join date: 13 Aug 2006
Posts: 9
05-30-2007 09:25
From: Dnel DaSilva

Seems almost too simple, am I missing something?


Having only a left brain, scripting is as clear as Sanskrit to me :-)
Though I managed to make some with the
Google-copy-paste-trial-error-etc. method.

Thanks both for the replies.
I'll give it a go.

Eileen.

Edit: Script is up & running. Thanks again.
Dnel DaSilva
Master Xessorizer
Join date: 22 May 2005
Posts: 781
05-30-2007 19:55
I'm curious as to what method you ended up using to do it
_____________________
Xessories in Urbane, home of high quality jewelry and accessories.

Coming soon to www.xessories.net

Why accessorize when you can Xessorize?