Hello, is it possible to create contextual menus in the game? I'd like players to be able to fill out a form which would be sent to an external server.
Thanks in advance
These forums are CLOSED. Please visit the new forums HERE
Contextual menus in game? |
|
|
Knuckles Knopfli
Registered User
Join date: 18 Apr 2006
Posts: 1
|
06-02-2006 13:51
Hello, is it possible to create contextual menus in the game? I'd like players to be able to fill out a form which would be sent to an external server.
Thanks in advance |
|
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
|
06-02-2006 17:49
I can think of at least four ways to do it.. neither a perfect solution. But depending on the input otions, one method might be better.
1) For open/anything goes form blanks: Use llSay to prompt for input at each form question. The user then responds via chat and the script logs the responses to be emailed later. 2) For preset answer type forms (like male/female): Use llDialog, one dialog per form question with each button being one of the answers. This would be most like a contextual menu 3) For forms with both presets & open answers: Maybe the dialog has an 'Other' button, which when pressed, prompts via llSay for the user to chat a response to the question. 4) Wait for the HTTP thing, web-on-prim to be fully functional. |
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
06-03-2006 01:28
You could look at the code here on the simteach wiki - it's a GNU GPL designed initially for multiple choice questions... but if your answers will fit into that sort of category you're fine.
Oh, and surverying people is fine, but you've got to be very clear about opting in as the ONLY way to capture the data because of the privacy clauses in the TOS. Although she'll hate me for it, if you're not sure Robin Linden is the current guardian of such issues, so ask her about it. |