[Opensim-users] custom menu when right clicking on an object

Miller, Peter pmiller at liverpool.ac.uk
Fri May 4 09:48:08 UTC 2012


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: opensim-users-bounces at lists.berlios.de [opensim-users-bounces at lists.berlios.de] on behalf of Toni Alatalo [toni at playsign.net]
Sent: 04 May 2012 07:14
To: opensim-users at lists.berlios.de
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
Opensim-users at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users


More information about the Opensim-users mailing list