Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do I move avatar who unsits from vehicle?

Prismatic Schism
Registered User
Join date: 14 Jan 2009
Posts: 7
03-25-2009 22:09
I want to have an avatar automatically TP back to starting point from a vehicle when avatar unsits from vehicle. Is there a way to do this?
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
03-25-2009 22:15
i think you might need to use llPushObject for that, never really played with it, so i'm not sure how to go about it. you could also have the avatar wear a hud (or on any attach point really) that listens for a command from the vehicle letting it know that the avatar stood up. when the attachment here's the command it could use llMoveToTarget to make the avatar move to the starting point. the carnival of doom has a hud that causes the wearer to warp to "hell" when they die and it keeps them from leaving for a certain amount of time to allow avatar regain life
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Prismatic Schism
Registered User
Join date: 14 Jan 2009
Posts: 7
03-26-2009 06:00
ha! Thanks. I know about the Carnival Of Doom! What a great place...that's actually what gave me the idea I could do this. I suppose if the HUD is the only way...llPush won't work due to too many obstacles in the path.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
03-26-2009 13:55
also, the problem with llMoveToTarget, it has a 64m limit, so if the distance is longer than that, you may need to run it in a loop until you are within the limit.
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Prismatic Schism
Registered User
Join date: 14 Jan 2009
Posts: 7
04-03-2009 06:36
I ended up using a HUD. The vehicle communicates to the HUD when occupant stands up. The HUD then rezzes a TP object for the avatar to return to starting point. Clumsy. I'd rather automatically TP avatar rather than rezzing object. It doesn't seem that the HUD affects avatar position in any way. Please correct me if I'm wrong.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
04-03-2009 08:08
using llMoveToTarget should, you just have to move at a very fast speed to get thru prims.
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Seemok Capalini
Registered User
Join date: 4 May 2007
Posts: 17
04-09-2009 14:17
This is something you wanna use WARPPOS for.
http://www.lslwiki.net/lslwiki/wakka.php?wakka=LibraryWarpPos
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
04-09-2009 23:07
that doesn't work for attachments. the user wants the avatar to be sent home AFTER they stand up from the vehicle
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369