instant TP or waprPos without sitting?
|
|
Finkel Flossberg
Registered User
Join date: 25 Nov 2006
Posts: 23
|
09-11-2007 17:17
Hi, guys... I was wondering...Is it by any chance possible to move an avatar without having him/her sit on prim? A solution that works with the warpPos function would be GREAT! /54/8d/109523/1.htmlDoes any of you smart guys have any ideas/solutions? Thanks in advance
|
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
09-11-2007 17:43
May not be what you're looking for but you can set an object so that whoever touches it automatically sits on it.
|
|
Altern8 McMillan
Registered User
Join date: 27 Mar 2007
Posts: 36
|
09-11-2007 18:25
I don't think it is possible without sitting, cuz if u sit u r part of the link chain, what means that ur position is updated frequently when the root prim changes. in this case the thing u sit on. as much as I know there is no other solution to be stuck to a prim. E. g try to stand on a prim and move it with llSetPos will make the prim move, but not u, as u r standing on top of it.
anyway if one of the scripting gurus knows an approach, it would be interesting.
greetz a8
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
09-11-2007 19:02
There are lots of warpPos-based teleporter scripts... several in the Scripting Library forum... selected at random:  . But the avatar still sits on the prim to be teleported. With warpPos, the prim and the avatar both travel to the destination. Other teleporters are based on llSitPos() which moves the avatar only. It's not clear just what is trying to be avoided, in not wanting the avatar to sit on a prim. It is possible (but usually not practical) to move unseated avatars around with physical pushing, but it's physical movement, so there's no passing through ceilings and walls, etc. And there's llMapDestination() that gives the avatar a convenient way to invoke "real" teleporting to the desired destination, without having to sit on anything. But without knowing what's bad about sitting to teleport in this application, it's not clear if either of these would be better.
|
|
Finkel Flossberg
Registered User
Join date: 25 Nov 2006
Posts: 23
|
09-11-2007 23:05
Thanks for your replies guys! Maybe I was not specific enough  The issue is probably not about having the avatar sit or not. What I want to do is going to mouselook mode and click somewhere and then I would "warp" to that position. I have seen a gadget being sold that does exactly that. It seems transparent to the user that he sits (if he really does that). So in short, the real question is: How do I make a local warp/TP device that lets me walk around and when I click somewhere I am warped to that destination in one smooth movement. No stopping and sitting etc. I hope you can help....
|
|
Lyn Mimistrobell
(waiting)
Join date: 11 Jan 2007
Posts: 179
|
09-12-2007 02:13
You can set the default action for click, to "sit". However, I believe it's not possible to click anything from mouselook...
|
|
Boss Spectre
Registered User
Join date: 5 Sep 2005
Posts: 229
|
09-12-2007 04:57
You can use llMoveToTarget() from an attachment to move your avatar without sitting on anything. Just be sure to use llStopMoveToTarget() once you get there or you won't be able to move.
|
|
Finkel Flossberg
Registered User
Join date: 25 Nov 2006
Posts: 23
|
09-12-2007 05:26
From: Boss Spectre You can use llMoveToTarget() from an attachment to move your avatar without sitting on anything. Just be sure to use llStopMoveToTarget() once you get there or you won't be able to move. That seems to be exactly what I'm looking for...I look forward to get home and have a look at it. Thank you!
|
|
Simil Miles
Creator
Join date: 1 Mar 2007
Posts: 300
|
09-12-2007 09:16
llMoveToTarget limits you to 60m. Best is to set When Left-Clicked to Sit On Object.
_____________________
UnConWTech @ Flo (144, 84, 224) http://unconwtech.free.fr
SL books http://astore.amazon.com/secondlife-sl-20/
Need a beta tester for quality assurance ? Need a translator for English, French, Spanish ?
|
|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
09-12-2007 14:22
From: Simil Miles llMoveToTarget limits you to 60m. Best is to set When Left-Clicked to Sit On Object. You could still loop an llMoveToTarget() to get beyond 60 meters...
_____________________
--AeonVox--Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
|
|
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
|
09-12-2007 16:42
From: Kenn Nilsson You could still loop an llMoveToTarget() to get beyond 60 meters... You still have to watch out that llMoveToTarget effectively pushes you towards the destination. If there's a wall in the way, you won't get there, so it isn't really the same as teleporting..
|
|
Lucius Nesterov
Registered User
Join date: 12 Oct 2006
Posts: 33
|
09-13-2007 02:12
Since you're talking about targeting something through mouselook and being moved to it (Link's hookshot? Spiderman's web slinging?), I'm guessing you'll need to fire a projectile, which on collision reports back the target location to move to (communicates the position to an attachment).
|
|
Finkel Flossberg
Registered User
Join date: 25 Nov 2006
Posts: 23
|
09-13-2007 04:48
From: Lucius Nesterov Since you're talking about targeting something through mouselook and being moved to it (Link's hookshot? Spiderman's web slinging?), I'm guessing you'll need to fire a projectile, which on collision reports back the target location to move to (communicates the position to an attachment). Yes, thats exactly what I had in mind 
|