Bouncin'
|
Sebine LeFay
Registered User
Join date: 3 Feb 2003
Posts: 15
|
02-09-2003 19:48
What is the most (how should I put this?) elegant way to write a script that would cause a spherical object, when sat on, to at first wobble a little, then bounce a little up and down in place, then bounce more and shift position while doing so (ne, w, se, w), then do that last incrementally more violently over about 10 seconds, then toss the avatar off and tell em the ride is over?
I'd be willing to buy this script if someone can write it (and also explain it to me piece by piece).
|
Shebang Sunshine
Royal PITA
Join date: 3 Dec 2002
Posts: 765
|
02-09-2003 20:26
Oh there's already a function for that....
llSex(integer howlongtowobble, integer howlongtobounce, integer howlongtobounceandshift);
follow that up with:
llSnore(); llSleep();
<GR&D> #!
_____________________
-- Gravy: the new ice cream.
|
Sebine LeFay
Registered User
Join date: 3 Feb 2003
Posts: 15
|
That was mean
02-09-2003 21:08
I was serious, Shebang.
I'd like to understand how to do scripting. The best way I can see how to do that as I don't know java or C, which makes the lsl document nearly useless to me (I read it, I get some of it, but java and C syntax is not a paradigm I have incorporated into my thought processes) is to get an idea of what I want to do and have someone show me how to do it. If I know what I want to do, I can tweak the scripting and learn more about it. I'm not stupid (there is nothing that I have not easily been able to learn in my life and generally without help) and just because I don't know java or C (yet) doesn't give you the right to poke fun at me. Just because I don't speak the language does not make me mentally deficient.
Now...
If there is anyone out there that is willing to help me constructively, I would be very grateful.
If I took your meaning wrong, Shebang (as I understand from mutual friends that you are nice and a generally helpful and understanding person), I'm sorry. But it didn't come out as a joke and looked downright hurtful.
|
Shebang Sunshine
Royal PITA
Join date: 3 Dec 2002
Posts: 765
|
I'm so sorry
02-09-2003 22:08
It wasn't my intention to be mean or to make you feel as tho I were poking fun at you or at your scripting abilities or lack thereof.
I was just in a really odd mood, and your post sent my brain in directions it had no business going in.
I totally understand where you're coming from. I don't do C or Java either -- I've tried both several times in the past, and every single time I've ended up literally in tears. I'm not stupid, but I just have never been able to get either one of those languages.
I'm starting to "get" lsl, no tears yet, but quite a bit of hair-pulling has taken place. I'm not at all good at the motion stuffies tho, which is why I didn't offer to help you myself.
Again, I'm very sorry. I hope you'll forgive me.
#!
_____________________
-- Gravy: the new ice cream.
|
BuhBuhCuh Fairchild
Professional BuhBuhCuh
Join date: 9 Oct 2002
Posts: 503
|
02-09-2003 22:39
yeah, its possible - if I can find the time, I'll write it for yah, but findin time is harsh lately - so anyone who wants to know how I would do it and write it themselves, just ask.
BBC
|
Dave Zeeman
Master Procrastinator
Join date: 28 Jan 2003
Posts: 1,025
|
lmao
02-09-2003 23:51
shebang you had me in stitches! (hard laughter)
as for the scripting, yes it's possible and i could probably do it, however I would have no idea how to "kick the person off", that's beyond me...
also it's been mentioned that an object can't sense when it's sat on. if you don't mind having to click on it after sitting, and you don't mind it not kicking you off, i can script it.
|
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
|
02-10-2003 01:06
hmm sebine, have you looked at the tutorials i posted over in the scripting forums? they could get you headed in the right direction, at least. and, i will see what i can come up with, as well, since i have more time then bbc 
_____________________
i've got nothing. 
|
BuhBuhCuh Fairchild
Professional BuhBuhCuh
Join date: 9 Oct 2002
Posts: 503
|
02-10-2003 12:47
easy way to kick someone off a object they are sitting on is to change the scale
BBC
|
Orrey Stone
Huh?
Join date: 5 Dec 2002
Posts: 42
|
02-10-2003 13:40
Ah cool tip Buh - Ive always had trouble kicking off a sitter since it seems to act diff in scripts than a regular attachment - Ill have to add that to the Ejection seat.
_____________________
T.A.N.S.T.A.A.F.L.
|
Sebine LeFay
Registered User
Join date: 3 Feb 2003
Posts: 15
|
02-10-2003 14:10
Of course I forgive you Shebang. I totally overreacted and I apologize. Can you forgive ME? What you said is actually kinda funny when one isn't reading it through the lens of newbihood frustration and dealing with little stabbing inklings of one's own inadequacy interrupting.  Nada I've run across a couple of your tutorials (It's hard to track down all the bits of wisdom strewn about in the forums, though. Do you think one of the Linden's would sticky topic your lessons?) but the ones I've found are beyond my ken. I did find the one with the escalator for the advanced. The explanation in the basic portion of how to move the ball in the box with positioning commands was very enlightening (I get the concept, but have trouble with the syntax). I thought of doing some basic stuff with my ball this way, but found something about a bounce instruction in another thread. That's why I asked if there was a 'cleaner' way to do it. I'm glad my little question could help with the ejector seat. That's a fun concept and I'd love to see it in action.
|
Shebang Sunshine
Royal PITA
Join date: 3 Dec 2002
Posts: 765
|
02-10-2003 19:05
From: someone Originally posted by Sebine LeFay Of course I forgive you Shebang. I totally overreacted and I apologize. Can you forgive ME? What you said is actually kinda funny when one isn't reading it through the lens of newbihood frustration and dealing with little stabbing inklings of one's own inadequacy interrupting. Hon, t'aint nuthin to forgive as far as I'm concerned. I'm just sorry we got off on the wrong foot (because I stuck the other one in my mouth). Like I said, I'm not good with the movin' scripts, but if I can help with anything else, just holler =) #!
_____________________
-- Gravy: the new ice cream.
|