You can modify the text using llSetTouchText and llSetSitText then presumably 
in the latter case use the changed event to code whatever additional 
functionality is required, including unsitting the avatar if necessary. There 
may be prettier ways...

Best wishes

Peter   

________________________________________
From: [email protected] 
[[email protected]] on behalf of Toni Alatalo 
[[email protected]]
Sent: 04 May 2012 07:14
To: [email protected]
Subject: Re: [Opensim-users] custom menu when right clicking on an object

On May 4, 2012, at 5:11 AM, Dr Ramesh Ramloll wrote:
> it is implemented currently are out of question. Is there a way to create a 
> menu item that would appear in the same way as the 'custom' sit menu? Is 
> there something that can be done to force the 'sit menu item' to do something 
> else other than sit.... pretty sure no ... but am asking anyway? Is there a 
> way in LSL to distinguish a left click from a right click? some custom 
> opensim functions that I

IIRC sit and other those commands are sent to the server, so you can modify the 
server side (opensim) to handle it however. If not from LSL / os* now, some 
customization hook could be added to the LSL API, or you could just do your 
modification in C# alltogether (perhaps in a region module or so). So that 
sitting on some object would do something totally different.

I also thought that that menu can have custom items that you populate there 
somehow. Well 'sit' itself is only available when there is a sittarget, right? 
I don't remember how hardcoded all those things were.

~Toni


_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to