From: Zuzi Martinez
the wiki says the llDialog chat comes from the same place as the object and since the chat doesn't happen til you hit a button i'm guessing you can't move away from the place where it's coming from. are you sure your listen is alright like listening to the right channel?
it also says "Note that llDialog will only work if the user identified by id is in the same region or if they have been to that region and left but have not yet logged out" so that might apply.
Thanks for the Wiki summary. I tried to go there, but I'm not quite sure where it is now.
I did some tests.
Bottom Line: llDialog only seems to work in the sim that it was created.
Used this code:
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
llSay(0, "Touched.");
llDialog(llGetOwner(),"Hello",["goodby"], 0);
}
}
A little awkward to work with.
I touched it to get the dialog, then attached it and walked. Then, pressed the button.
Or I touched it, then walked away (leaving it on the ground). Then, pressed the button.
It worked as expected in all cases, except when I carried it across a sim boundary.
That is, this did NOT work:
1) touch it to get dialog
2) attach it
3) walk across sim boundary
4) press dialog button
Interestingly, this DID work:
1) touch it to get dialog
2) attach and walk across sim boundary.
3) walk back across boundary to original sim.
4) press dialog button.
So, I guess I'm mostly agreeing with the wiki except that I'm not seeing the"or if they have been to the region..." behavior.