Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Give objects with menu???

Fareyn Babii
Owner of Condemned Design
Join date: 29 Jul 2007
Posts: 120
02-04-2010 16:15
I want to make dinner tables that give you food when you click on them.So i need some tips:D where should i go, what kinda script do i want? so on so on!

HELP ME!!!! PLS!!!
:D" and ty
Pete Olihenge
Registered User
Join date: 9 Nov 2009
Posts: 315
02-04-2010 16:33
Do you want to rez the food on the table, or give the diner something that appears in their inventory that they might perhaps wear?
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
02-04-2010 16:57
There are two common ways to do this, suggested by Pete's question. One is to place a script in the table that rezzes a plate of food at a person's place, acting on either a chat command or a touch. You could write your script to offer diners a choice of food items, selectable with a dialog menu. Most tables that use this approach also put an animation at each place so that a person sitting there seems to be eating. The other way to go is to have a vendor give food items to a person that need to be rezzed later. This is a common approach with finger food (like fruit or candy) and with drinks, and again usually involves including an eating animation with the item.

Neither of these approaches is easy to do well, so it's not a job for a novice scripter. Also, any script you find loose in SL has been custom-designed for a particular application. It's not likely to be a script that you can simply drop into your application without some redesign.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Carbon Philter
Registered User
Join date: 4 Apr 2008
Posts: 165
02-05-2010 01:12
Check out the College of Scripting and Music - http://slurl.com/secondlife/Horsa/46/243/85

They have a whole building full of script tutorials and examples. I messed about with info from there to try to learn the process of scripting and fairly quickly managed to create a simple dropdown dialogue for meal options.

The dialogue example provided gives you a starting point and with some additional work from other examples there you could mod and supplement it to rez different food prims based on the option selected and trigger appropriate animations too.
Fareyn Babii
Owner of Condemned Design
Join date: 29 Jul 2007
Posts: 120
02-06-2010 22:08
Hmm thank you for the replies! unfortunatly im not tech savvy enough to script myself lol I might have to hire someone to do it