Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Detect object rez failure?

Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
10-21-2004 15:17
Just a thought... say a script rezzes objects using llRezObject(), and said script happens to be residing on a parcel where Build is disabled (and assuming the script isn't owned by the landowner :D )... is there a means by which the script can detect the fact that the llRezObject() call has failed?

Obviously, you could use a sensor or have the object be chatty when it rezzes, or whatever... but can the originating script detect this directly?

I'm surprised that llRezObject() doesn't return a boolean value, depending on its success. :D
_____________________
- Making everyone's day just a little more surreal -

Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
10-21-2004 21:39
There is the object_rez(key id) event which will trigger after successfully rezzing an object. :)

-Adam
_____________________
Co-Founder / Lead Developer
GigasSecondServer
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
10-22-2004 09:17
From: Adam Zaius
There is the object_rez(key id) event which will trigger after successfully rezzing an object. :)

-Adam


Well, shuck my corn. I suppose I could've read the wiki, huh? :o

Thanks, Adam! :D
_____________________
- Making everyone's day just a little more surreal -

Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
10-22-2004 10:14
ya, but it's kind of ungainly for detecting if an object failed to rez :)
_____________________