|
IBME Swindlehurst
Registered User
Join date: 5 Mar 2007
Posts: 139
|
09-29-2008 08:55
I've created several products that I want to give away for FREE (0L$), but I want to track who I give them to so that if I update any of them I can provide updates to the people I've given them to.
If I try to use: llSetPayPrice(0, [PAY_HIDE,PAY_HIDE, PAY_HIDE, PAY_HIDE]);
the price (0) comes up in the dialog box, but after I click PAY, the MONEY event is never raised.
If I use: llSetPayPrice(PAY_HIDE, [0,PAY_HIDE, PAY_HIDE, PAY_HIDE]);
the button (0) is not dispayed and CANCEL is the only option.
I can use a value other than 0 in either case and everything works fine. Is there a way around this other than to make the value 1 and refund 1 L$ to the user?
Thanks in advance for any hints/tips.
|
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
09-29-2008 09:09
All you need is some way for a person to say "I want one", right. So don't use the money event / Pay menu option, use something else. For example, you could have the person touch the 'vendor', which then records what it needs to and gives them the inventory. You'll have to llSetText or use a texture which says something like "Touch to receive free whatever".
|
|
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
|
09-29-2008 13:24
I'd use a regular dialog (blue menu) where the user has to click on «yes»...
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
09-29-2008 13:49
Yeah, unfortunately the logic is that you can't actually "pay nothing"... touch is totally your best bet here.
Remember that "no copy" freebies are a waste of everyone's time. They can always "pay nothing again" to get another one. 30,000 touches, and they could own 30,000 copies. It's far easier to make your freebies copy/notrans. The amount of work you'd have to do to make sure that someone NEVER got a second one.. just isn't worth it.
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|
|
Ilobmirt Tenk
Registered User
Join date: 4 Jun 2007
Posts: 135
|
09-29-2008 15:40
please see the FOSSLVendorBuy script for an example of how it can be done. Have a nice day! ps: it is at... /54/dc/243616/1.html#post1889371
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
09-29-2008 16:10
Wow! What an overly complicated way of saying "use touch"!
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|
|
Dytska Vieria
+/- .00004™
Join date: 13 Dec 2006
Posts: 768
|
09-29-2008 16:19
It actually would be kind of nice if Pay (in the pie menu) did allow L$0, especially if the Touch event is used for something else and you don't want to use Dialog menus.
_____________________
+/- 0.00004
|