These forums are CLOSED. Please visit the new forums HERE
looking for - Script-Drop down menu when clicking an object |
|
|
ashlyn Patton
Registered User
Join date: 28 Jun 2006
Posts: 72
|
03-24-2007 16:43
hello i hope im in right forum, im looking for a Script-Drop down menu when clicking an object if anyone has a script i can use please im me in game, ty
|
|
Sterling Whitcroft
Registered User
Join date: 2 Jul 2006
Posts: 678
|
03-24-2007 17:21
I'm afraid you're gonna be looking for quite awhile.
Drop downs would be great, but all we have are push buttons. |
|
bucky Barkley
Registered User
Join date: 15 May 2006
Posts: 200
|
03-24-2007 17:36
There are at least two approaches:
* use llDialog to present the upper right blue dialog -- replete with a descriptive string and a bunch of buttons * rez an object with your menu, collect the data, llWhisper() it back to the parent, and llDie() the object (or hide it within the parent, etc.) _____________________
Bucky Barkley -- Mammal, Scripter, Builder, Lover
|
|
ashlyn Patton
Registered User
Join date: 28 Jun 2006
Posts: 72
|
03-24-2007 17:43
im hoping someone can make a script for me, if someone can can they im me in game? ty
|
|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
03-24-2007 19:25
I hate to say it this way...but I'll say it in the nicest way possible...
...this forum is for scripting tips. We're more than happy to help out, point in the right direction, etc... ...but if you want someone to create a script for you...how about offering to hire someone under products/services wanted? ...or if you're lookin' for a freebie...how about looking in the scripting library? ...now...in an effort to be helpful... The other people who have replied are correct, you will want to use an llDialog function that lists a set of button-options. I'm not exactly sure what you want the script to do...so can't offer much more than that... ...it's smart to couple your llDialog with an llListen (set to an integer so it can be removed) and an llSetTimerEvent.... ...you need the llListen in order to hear a response from the menu... ...and you want the llSetTimerEvent to cancel your listen (llListenRemove) if the person receiving the menu presses 'ignore' or does not respond after a given amount of time (I generally give about 30-60 seconds for a response on most menus). CODE
_____________________
--AeonVox--
Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music. |