Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llrezobject

Melissa King
Registered User
Join date: 22 Dec 2004
Posts: 16
04-14-2006 14:51
I have looked everywhere and can't find the full llrezobject script. Could someone either post it here or send me one in-world? I would greatly appreciate it. Thanks!
Zapoteth Zaius
Is back
Join date: 14 Feb 2004
Posts: 5,634
04-14-2006 14:57
Before you read this, I'm not a scripter, I've probably got the wrong end of the stick, and when it comes to scripts your best bet is to ignore me completely, moving on though..

CODE


default
{
state_entry()
{
}

touch_start(integer total_number)
{
llRezObject("something", llGetPos() + <0, 0, 2>, ZERO_VECTOR, ZERO_ROTATION, 42);
}
}



Would rez and object called "something" 2 meters above the object this script is in. Given the object called something is in the same object as the script. If that makes sence. Anything more complex and you'll have to wait for a real scripter :p

More of a learning experience for me :D

Signed,
The Worst Non-Scripter in SL
_____________________
I have the right to remain silent. Anything I say will be misquoted and used against me.
---------------
Zapoteth Designs, Temotu (100,50)
---------------
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
04-14-2006 15:03
Yes, that's it really. It would be easier to help if we knew what you meant to rez....
Melissa King
Registered User
Join date: 22 Dec 2004
Posts: 16
04-14-2006 15:38
Thanks so much for the script! I am making an object that drops things like stoves, microwaves, toilets, couches and tables on people. I know it sounds dumb but I have been in SL too long I think.
Zapoteth Zaius
Is back
Join date: 14 Feb 2004
Posts: 5,634
04-14-2006 15:40
From: Melissa King
Thanks so much for the script! I am making an object that drops things like stoves, microwaves, toilets, couches and tables on people. I know it sounds dumb but I have been in SL too long I think.


Hehe no probs, given the object is going to be an attachment and central-ish 2 meters should be about right :)

Full wiki entry here.
_____________________
I have the right to remain silent. Anything I say will be misquoted and used against me.
---------------
Zapoteth Designs, Temotu (100,50)
---------------
doug Donovan
U WANNA PIECE 'O' ME?!
Join date: 22 Apr 2004
Posts: 140
04-25-2006 01:37
From: Zapoteth Zaius


Signed,
The Worst Non-Scripter in SL



um noo...
*i* am the worst! lol
_____________________
[2:26] Secret Admirer: I have a crush on you
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
04-25-2006 01:41
Just keep watching for "icecream cones". They appear when things go wrong. Took me ages to figure out what they were. So maybe that makes me the worst lol.
Tiberious Neruda
Furry 'On File'
Join date: 1 Nov 2005
Posts: 261
04-25-2006 01:47
I got ya all beat...

Was busy trying to work with an object-rezzing projectile (rezzes the object on contact with anything), and accidentally ATTACHED the object to myself...

Well, since the debugging wasn't done, it continually rezzed the object over and over... I wager you can guess what happened next... :¿

Thankfully, I have everything fixed so it works properly now, and I won't be doing that again anytime soon...

Signed,
The absolute WORST scripting danger: the person who tries something without knowing everything necessary.