Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

right click - edit mode

LanLuca Forcella
Registered User
Join date: 8 Oct 2008
Posts: 2
10-08-2008 06:29
hello,
what i need to know is: is possibile to know if an avatar right click on an object or enter in edit mode?

Thank you very much!
Marcush Nemeth
Registered User
Join date: 3 Apr 2007
Posts: 402
10-08-2008 17:31
As far as I know: only visually, by that trail of particles running from their hands to the object.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
10-09-2008 04:20
not via script, no
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
LanLuca Forcella
Registered User
Join date: 8 Oct 2008
Posts: 2
10-09-2008 06:34
what i need is that people can't stop a moving object by a right click on it... isn't possible?
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
10-09-2008 10:48
From: LanLuca Forcella
what i need is that people can't stop a moving object by a right click on it... isn't possible?


nope.
_____________________
My tutes
http://www.youtube.com/johanlaurasia
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
10-09-2008 19:24
you mean like a vehicle or physical object?

and I'll assume you mean left click actually

change the default left click behavior dor the object to something else besides touch/grab.... like open

the option is on the first tab of the edit window at the bottom
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
10-09-2008 21:54
From: Void Singer
you mean like a vehicle or physical object?

and I'll assume you mean left click actually

I think it was another question about the fact that right-clicking and bringing up the pie menu, or editing the object in any manner, causes physical motion to stop completely. Not very nice to do to people trying to harmlessly pilot their own vehicles and mind their own business, but it's the hand we've been dealt.
Cypher Ragu
[Mad Scientist]
Join date: 6 Jul 2008
Posts: 174
Yes and no...
10-12-2008 21:02
Well you can have a script make an "educated guess" that someone has right-clicked it by using llGetPos() in a timer... So if prev_pos = current_pos, the script will shout "Please do not click the moving vehicles!" or something. The only problem is, it's usually only physical objects that move frequently, and llGetPos only works if the object is non-physical.
_____________________
Life is a highway... And I just missed my exit.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
10-12-2008 22:02
From: Cypher Ragu
...llGetPos only works if the object is non-physical.

Not at all. llGetPos() works for any object or attachment, physical or not (for attachments it reports the avatar's location). It's llSetPos() (note SET, not GET) that doesn't work for physical objects.
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
10-13-2008 00:12
You could maybe do a check for llGetVel? I dunno if velocity changes when selected tho.
http://rpgstats.com/wiki/index.php?title=LlGetVel
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura
Shyan Graves
Registered User
Join date: 10 Feb 2007
Posts: 52
10-13-2008 01:11
Hi,

Is this to be considered to be a "grab"? Maybe the functions LLDetectGrab and
llSetStatus - STATUS_BLOCK_GRAB - Enable/Disable object grabbing might be helpful! But that is just a guess!

Regards,
Shyan
Cypher Ragu
[Mad Scientist]
Join date: 6 Jul 2008
Posts: 174
10-15-2008 16:47
From: Hewee Zetkin
Not at all. llGetPos() works for any object or attachment, physical or not


Sorry, my mistake.
_____________________
Life is a highway... And I just missed my exit.