|
Cattrina Careless
Registered User
Join date: 30 Jun 2005
Posts: 102
|
03-12-2006 14:07
I'm guesing this isnt possible because it hasnt been done yet but.......
Is there any way to call the money function without using the pay option on the pie menu?
I would like a person to be able to single click the object to pay rather than having to use the pie menu.
Or, and I just thought of this as I was typing this post - lol. I've seen some objects that have "quick pay" on them, is this only for object selling all inventory or can that be set via script? and if so can I set the amount by script too?
Thanks
Catt
|
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
03-12-2006 14:39
Well, an object can request permissions to debit someone's account automatically, which would let it take money on touch - or, for that matter, whenever it wanted to. It's used by some gambling machines.
If a vendor asked me for permission to debit me I'd run a mile though.
|
|
Sky Honey
Coder
Join date: 16 May 2005
Posts: 105
|
03-12-2006 15:44
You can set one price with llSetPayPrice: llSetPayPrice(PAY_HIDE, [50, PAY_HIDE, PAY_HIDE, PAY_HIDE]); The user still uses the Pay menu option for this though. You can also set an item For Sale, in which case it gets a Buy menu option and no script is needed. Like Ordinal says, asking for Debit permission is not not going to get many acceptances. Debit is generally used so an object can get permission from the object owner to pay out money to other avatars.
|