Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Event triggers on collision with ban lines/land eject?

Avon Narayan
Registered User
Join date: 14 Sep 2006
Posts: 13
11-06-2006 12:29
Hi guys/girls

Wonder if anyone could enlighten me further on this scenario.

I have an object that is non-physical and phantom until an avatar sits on the associated sit target. At this point the object becomes physical and non-phantom.

The object then moves under gravity until the avatar stands up, at which point the object returns to non-physical and phantom. Detect this using the "changed link" event and checking if an avatar is still sitting on target.

OK so far, everything works fine.

However, if whilst in motion, the object hits a land ban line/eject from land situation I've read in the wiki that the avatar will "unsit".

My question is does that actually trigger the same changed link event as a normal "stand up" by the avatar?

I'm finding that the event handling in the script doesnt execute if the ban/eject situation occurs and the object stays non-phantom and physical even after the avatar has been unseated. Everything else works fine under all other circumstances.

Is this the same problem that i've read about when people are in vehicles that get ejected over land parcels and lose the vehicle?

Any insight much appreciated!
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
11-07-2006 09:06
From: Avon Narayan


I'm finding that the event handling in the script doesnt execute if the ban/eject situation occurs and the object stays non-phantom and physical even after the avatar has been unseated. Everything else works fine under all other circumstances.


the changed link event should fire off when an avatar gets ban/ejected. it sounds like you're running into is a no-script area as well as the ban/eject lines.
_____________________
My SLExchange shop

Typos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not.


The function is working perfectly fine. It's just not working the way you wanted it to work.
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
11-07-2006 23:39
Hitting ban lines doesn't automatically unsit you, it bounces you.

It effectively makes a solid that you collide with and bounce off when in a vehicle.
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog
Avon Narayan
Registered User
Join date: 14 Sep 2006
Posts: 13
11-08-2006 02:51
Thanks all for the responses.

Yes i think it is actually now because i'm also encountering a combination of eject and no-script.

I'll get round the problem by making my object copy (was no-copy) and set a timeout so it auto-deletes in case it goes AWOL. Won't help if it ends up in a no-script parcel but best I can do to keep SL tidy :-)


Thanks
Avon