[edit] I just learned about object_rez() event. Nevermind

These forums are CLOSED. Please visit the new forums HERE
llRezObject needs fix |
|
|
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
|
01-14-2005 07:29
It needs fixing because it I consider not returning the key of the newly rezzed object to be a bug. I know I'm not the first to complain about this, why hasn't it been fixed already ?
[edit] I just learned about object_rez() event. Nevermind ![]() _____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
|
|
Paradigm Brodsky
Hmmm, How do I set this?
Join date: 28 Apr 2004
Posts: 206
|
OMG, is that what I'm supposed to do??
01-14-2005 10:52
Well thanks for posting that anyway. I didn't know about object_rez myself! I have been using say or shout to get the key, but this is way better.
![]() |
|
Tread Whiplash
Crazy Crafter
Join date: 25 Dec 2004
Posts: 291
|
Just a reminder...
01-14-2005 11:18
The LSL Wiki is pretty complete for stuff like this - not necessarily the most verbose help system, but it does a great job of letting you see what functions and events are available:
http://secondlife.com/badgeo Take care, --Noel "HB" Wade (Tread Whiplash) |
|
Tcoz Bach
Tyrell Victim
Join date: 10 Dec 2002
Posts: 973
|
01-15-2005 18:11
You can get the key easily by having the rez'd object llSay it on rez. You set the listener on object rez, it says it's key on a channel, you destroy the listener on the rez'd object after it hears it. Want to get fancy, randomize the channel and pass it into the create param. Clean up is sim friendly.
A lot of people seem to think llSay is "too chatty"...what they probably should do to fool people is just copy the function and call it "llMessageObject". llSay is a core messaging mechanism in the game, one of like the two or three available, and is meant to be used for exactly this sort of thing. Remember your avatar is more or less just an object. llSay. It ain't just for chat anymore. _____________________
** ...you want to do WHAT with that cube? **
|