Adriana Caligari
Registered User
Join date: 21 Apr 2005
Posts: 458
|
05-11-2005 12:40
Hi all,
Is there any function that lets me query how much an object within the inventory is selling for ?
What i want to do is create a card based seller that will allow commision payments etc for items in a box, that way you just drop the script into the box and it checks everything is accurate an ready to be sold.
Some of the checks i want to put in are : 1. the prices on the card match the prices on the objects. 2. All appropiate permissions are set for each object 3. The commision entries add up to 100% 4. the objects in the box match the objects in the card.
I have all except matching the prices and the settings which i cannot find anywhere.
Any help would be appreciated
|
Water Rogers
Registered User
Join date: 1 May 2003
Posts: 286
|
05-12-2005 03:48
If i'm reading you correctly you are asking whether or not mutltiple items in one box that are set for sale at different prices can be detected... in which case i'm pretty sure the answer is no with a direct LSL function.
You could set up something where a notecard has each individual item's prices (and other attributes) etc and query the notecard, but you can't query the items within the object's inventory themselves.
Did i get your question right?
--Water
_____________________
From: Philip Linden For the more technically minded - the problem is actually NOT the asset server (or 'asshat' as you prefer to affectionately call it herein).
|
Adriana Caligari
Registered User
Join date: 21 Apr 2005
Posts: 458
|
05-12-2005 23:09
Yes Thankyou - I already have everything set up on the notecards, but i wanted to add some extra functionality ( particularly for new sellers ) so that the script double checks everything to make sure the prices are correct. (Eg A box containing 3K worth of skins is not being sold at 10 linden  ) Ok - If I cannot query the price directly I wil have to stay with having things on the notecard. thanks for your time
|