Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

"buy menu" access through script

Smoere Broek
Registered User
Join date: 1 Jul 2007
Posts: 3
10-01-2007 07:41
Hi,

I'm having a little problem. I want to access the "buy menu" often seen in SL.
(The pay menu would although be a beginning.)

Often seen them in SL, there are buy menus showing the content of the package you want to buy. I need this! I want to integrate it in an own simple vendor script.

Can I trigger the "events" in the pie menu in any way without having to right-click on the item? Does anyone know if this is possible?

Thx in advance.
Bloodsong Termagant
Manic Artist
Join date: 22 Jan 2007
Posts: 615
10-01-2007 08:45
heyas;

as far as i know, you can't.


the buy pie menu option only appears when an object is set for sale.

you make a chair, you set it for sale, you get buy. you make a vendor, you put the chair in it, the vendor is NOT for sale, you don't get buy.


you only get pay via script.



i DID have an idea once to change a holo-display into a holo-vendor, where you create a temp-on-rez box or item of the actual thing for sale, that someone COULD buy before it dies in 30 seconds. somewhere over on the 'resident answers' forum, i think.
i haven't tried it, and i dont know if it makes the stuff people buy also 'temp on rez,' so that when they take out the product they bought, it goes poof :X
_____________________
Why Johnny Can't Rotate:
http://forums.secondlife.com/showthread.php?t=94705
Lyn Mimistrobell
(waiting)
Join date: 11 Jan 2007
Posts: 179
10-01-2007 10:58
It doesn't have to be temp. You can create a container for what you're selling, and add a script. The vendor can rez the container, and also tell it when to delete itself (using llWhisper and listen), so it can rez the next one. Make sure the script inside the container is no-modify and no-transfer, because it'll be given to the customer too.

If you set the default action for the container to buy they don't have to right click.

Personally I hardly ever buy from a vendor because it doesn't show me the contents and I cannot check the contents (is a skirt normal or prim) and priveleges.
Smoere Broek
Registered User
Join date: 1 Jul 2007
Posts: 3
10-01-2007 22:58
Ok, thanks for the hints ... I'll see what I will do then.