These forums are CLOSED. Please visit the new forums HERE
menu driven item giver |
|
|
Damian Hallstrom
Registered User
Join date: 20 Jan 2007
Posts: 2
|
01-25-2007 10:28
Im trying to create a menu driver drink giver for a bar Im creating for my house. Im tired of giving my guests a big box of drinks to fill there inventory up with stuff they do not want. so I decided to make a menu system where they select the drink they want. needless to say I hit a road block because I wouldnt be here seeking help if I didnt
|
|
Damian Hallstrom
Registered User
Join date: 20 Jan 2007
Posts: 2
|
here is what I have so far
01-25-2007 10:32
the menu drops down perfectly, I can select what I want but the item will not give out the drink. I do have the drinks inside the prim, and I did triple check that each name is exactly equal to the object given. this is what I have so far
CODE
|
|
Elsewhere Essex
Registered User
Join date: 8 Sep 2006
Posts: 50
|
01-25-2007 10:52
you cant use llDetectedKey(0) inside a listen event
instead, listen gives you the key of the user from the dialog() in you listen event, instead use CODE
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
01-26-2007 00:45
You may want to look at the fridge script.
|
|
racush Cheeky
Registered User
Join date: 23 Jan 2006
Posts: 23
|
01-26-2007 15:31
Well I aswell had a need for such a script though never gave it more than more drink to give but here is what I used I changed it up to support 3 drinks but i'm shure you can expand it to how ever you like
CODE
|