Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

object Pie menu manipulation

azvrod Paragorn
Registered User
Join date: 12 Jan 2009
Posts: 2
01-20-2009 09:51
Sorry if this has been gone over before (which I am sure it has been). I did not get any hits on the search for some reason.

I want to add menu items to the right click pie menu (for an object) and fire scripts from the menu items added.


Thanks in advance....

azvrod
Scott Savira
Not Scott Saliva
Join date: 10 Aug 2008
Posts: 357
01-20-2009 10:03
If you are asking whether you can add new buttons to the pie menu. No, you can't. However... you can rename the buttons that are already there.

Refer to:
http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetTouchText
http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetSitText

For example, poseballs typically set the sit text to "Love". This doesn't really add a new button, it just masks the sit button, you are still performing a "sit" action.
ab Vanmoer
Registered User
Join date: 28 Nov 2006
Posts: 131
01-20-2009 10:04
As far as I am aware, you can't add items to the pie menu, you can however replace the text for some of the existing items.
For instance to replace the "Touch" text, use llSetTouchText or use llSetSitText to replace the "Sit Here" text.
azvrod Paragorn
Registered User
Join date: 12 Jan 2009
Posts: 2
01-20-2009 10:14
From: Scott Savira
If you are asking whether you can add new buttons to the pie menu. No, you can't. However... you can rename the buttons that are already there.

Refer to:
http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetTouchText
http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetSitText

For example, poseballs typically set the sit text to "Love". This doesn't really add a new button, it just masks the sit button, you are still performing a "sit" action.



that's a bummer.. there are alot of empty pie sections in the "more" area... I was thinking it would be an elegant way to fire script events. I'll have to go with another method.

thx
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-20-2009 18:51
It's not quite the same, but this is pretty much what http://www.lslwiki.net/lslwiki/wakka.php?wakka=llDialog is designed for.