Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Who touched it?

Zac Bunderfeld
Registered User
Join date: 19 Mar 2004
Posts: 16
03-16-2005 17:29
I'm making a door script that, when touched, dialogs the user to ask if they are entering or exiting. How do you program a Dialog (or anything that uses the "string name" argument thingy) to deliver its message to the person that touched it?

Thanks for the help in advance,

-Zac
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
03-16-2005 17:34
llDetectedKey(0);

So, within your touch_start() event, add something like:
llDialog(llDetectedKey(0), "text here", list buttons, integer chat_channel);