Jump to content
  • 0

buy option not available in world when shopping? its in pie menu but greyed out.


Hunter Heartsong
 Share

You are about to reply to a thread that has been inactive for 2658 days.

Please take a moment to consider if this thread is worth bumping.

Question

2 answers to this question

Recommended Posts

  • 0

All vendors in world are run with LSL scripts.  Except in the simplest vendors (not commonly found in shops), transactions are handled in a money event in the script, which is triggered by the PAY option. The BUY option is only available if there is no money event in the script and the items or its contents have been set explicitly to use BUY.  (Read this article about vendors designed to use the BUY option.)

Similarly, a scripted object will only have an active TOUCH option if the LSL script contains a touch* event. Otherwise, that option is grayed out.  In general, vendors do not need a touch* event unless it is being used to control a menu system.

Your cursor icon will generally change as you move the cursor across an object that has PAY, BUY, or TOUCH click action active.  Here's a quick table that shows what the icons look like >>> https://gyazo.com/9fad86661471901e994bf02fc7a4d444  Notice that the same icon is used for both the BUY and PAY options.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2658 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...